Why should I study, for marks or for knowledge?

Why should I study, for marks or for knowledge?