Trump has rather a lot more reason to have an ego...
Obama thinks much of himself for nothing.
Both of them came from privileged, although different backgrounds. That said, Trump, beneath the surface appears capable of humility, compassion, and empathy.