In a comparative sentence we must compare the same part of two things. Use that of, these of, and those of.
My English is better than my friend.
(Here your English and the friend are being compared.)
My English is better than that of my friend.His teachings were like Buddha.
(Here teachings and Buddha are being compared.)
His teachings was like those of Buddha.