Sentence:  In estimating the value of cotton, its capacity to excite industry among the lower classes of people ... is of high importance. It has had a large share in <WSD>moralizing</WSD> the poor white people of the country. 
Meaning of the word marked with <WSD> tags:  To render moral; to correct the morals of; to give the appearance of morality to.