That's a rather one-sided view of what happened. Yes, the Soviet Union did invade Afghanistan as part of pushing its global ideology, much like the USA invaded Vietnam. But the stone age state of Afghanistan at the time of the US invasion in 2001 was a direct result of America supporting religious fanatics in a proxy war, the mujahideen, who after the war ended and the Soviet's were defeated went on to become the Taliban. That's why bin Laden is so famously a former ally of the US.
The USA is not only building an empire but doing so in plain sight of everyone. To quote Putin directly:
Our partners, especially in the United Sates, always clearly formulate their own geopolitical and state interests and follow them with persistence. Then, using the principle “You’re either with us or against us” they draw the whole world in. And those who do not join in get ‘beaten’ until they do.
This principle is most clearly visible in two acts. One is that the sanctions on Iran are built as a "you're with us or against us" model. Any country that is seen by America to be "undermining" the sanctions i.e. not joining in is itself sanctioned. And the second act is again sanctions based: every financial institution in the world is being taken over by Washington via a system of recursive ("viral" if you like) sanctions that require banks to obey the USA even if that would contradict local laws. The goal is to collect tax from American's abroad. It's called FATCA and it's resulted in many, many nations having to repeal their own privacy laws, in order to allow banks to become agents of the US Government. They were given no choice in the matter.
So the USA has found ways of forcing people in countries all over the world to: (a) engage in economic warfare against America's enemies and (b) pay taxes directly to America, all regardless of what the local government wants or how the local people vote.
Being able to conscript people to their fights and force payment of taxes is the very foundation of empire itself.