Sentence:  I had much trouble at first in breaking him of those <WSD>evil</WSD> habits his father had taught him to acquire ... 
Meaning of the word marked with <WSD> tags:  Morally corrupt.