There's so much wrong with what he said oh my lord.
A) Fighting in Afghanistan did not Bankrupt the Soviet Union, their military expenditure and Gorbachov selling the Soviets to the US is what bankrupted it. Man just straight up sold a union of countries.
B) The Soviets fought in Afghanistan as the US was backing rebel movements in Afghanistan, the Mujahadeen, later the parts the US funded would become the Taliban (It's important to note that the Mujahadeen and Taliban are two seperate things, but the Taliban were Mujahadeen and could technically still be called Mujahadeen, essentially, not all mujahadeen are taliban but all taliban are mujahadeen, the word essentially means soldiers in their language, or rather, a militant or militant force.).
What happened was that Afghanistan was essentially under a puppet socialist government and then the US backed rebels to that which de-stabalised the region, then Soviets sent in troops to secure Afghan and get rid of the rebels. They fucked up in doing that, they were terrible at CQC and couldn't win a hearts and minds campaign at all with the locals.
C) Russia was always called Russia, Russia's name during the Soviet Era was the Russian Soviet Federal Socialist Republic (RSFSR)
The Soviet Union was exactly that, a Union of Soviet nations.
TL:DR: Trump is a brainlet.