The Quraan Majeed speaks about two learned people who were misled, viz. Bal‘am Baa‘ooraa and Ka’b bin Ashraf. Mufti Shafee’ Saahib (rahmatullahi ‘alaih) says that this teaches us that knowledge is not sufficient. Rather together with knowledge, rectifying one’s inner-self is necessary.
Source: Al-Haadi