This is from James Mill’s article on education. In this section, the main point is the relationship between “the theory of the human mind” to education. Mill writes,
As the happiness, which is the end of education, depends upon the actions of the individual, and as all the actions of man are produced by his feelings or thoughts, the business of education is, to make certain feelings or thoughts take place instead of others. The business of education, then, is to work upon the mental successions.
Seems like James Mill is giving an early argument for a praxeological basis of educational theory, or what I call the science of learning.