Putin is a dictator and he's only interested in Putin. He attacked Ukraine because he believed that it would increase he chances of staying in charge, and staying alive. I think he miscalculated. But horrible dictators often get very lucky. I'm hoping his luck has run out. His judgement certainly has.