Being smart, knowledgeable, well read, well educated, reasoned, reasonable, logical, and rational is not a defence against the ego. In fact, the ego will use all of these to defend itself more robustly. It's possible to be all these things and still have an entirely concocted view of reality. A small shift in reality is enough to destroy it completely and replace it with an illusion.