Putin has a big ego, but he doesn't let that color his judgment or decision, unlike Trump who was entirely driven by ego. Putin has calculated that invading Ukraine sends a powerful message to Ukraine and Belarus that joining NATO is not acceptable. His invasion makes him look strong to his people, and when he withdraws on his own terms, he will also look strong.