How could Putin have miscalculated the interests of his country?

Putin's first mistake is to have underestimated the Ukrainian resistance and to have overestimated his own forces.

He also directly strengthened NATO and the role of the US, the European nations saw through the aid to Ukraine that the US is a reliable ally and that it is indispensable for their security, in addition to strengthening the European and American military presence in Poland etc. Without forgetting Finland which became the new member state of NATO.

At the economic level Putin has put his country in international sanctions of an unprecedented magnitude, and despite the circumvention of sanctions in different ways, he has made his country extremely dependent on China which is not very good.

And finally on the ground today it seems unlikely that Russia will take over the whole of Ukraine.
How could Putin have miscalculated the interests of his country?
How could Putin have miscalculated the interests of his country?
Post Opinion