Sentence:  The reigning error of his life was, that he <WSD>mistook</WSD> the love for the practice of virtue, and was indeed not so much a good man, as the friend of goodness. 
Meaning of the word marked with <WSD> tags:  To understand wrongly, taking one thing or person for another.