What you say about the Munich Pact of 1938 is true. Nevertheless, Great Britain and France did not follow that agreement by invading European countries, the way Russia did following its non aggression pact with Germany.
Really? England bombed the fleet of its ally, France, so that it would not fall to Germany. Wouldn't this be considered an invasion of another country? England is no stranger to doing this; at the beginning of the 19th century, it bombarded Copenhagen and burned the Danish fleet not even being in war with Danmark..
After the pact, the USSR, when the World War had already begun, which would inevitably have affected the USSR, did what any normal country does - it prepared for war, and therefore obtaining new territories that could alienate a potential enemy, Nazi Germany, from the center of the country was normal.
In addition, we were talking about territories that, either like Bessrabia and Western Ukraine and Belarus, had already been part of Russia for hundreds of years and were torn away due to the disorder of the Civil War of 1918-22.
The same applied to the Baltic states, whose parliaments, by the way, themselves spoke in favor of joining the USSR.
This is the fate of small states in days of war - they serve as springboards for large states.
The same goes for Finland. It was created while being part of Russia. She had her own government, her army. and currency, which it never had while being a backward outskirts of Sweden. Again, in the context of the weakening of Russia during the civil war, the border with the hostile to USSR Finland passed 25 kilometers from the country’s second city, Leningrad, which allowed long-range artillery to bombard the city.
In the conditions of the already ongoing world war, this was unacceptable. The USSR proposed to exchange the territories of Karelia for other territories from the USSR, even larger ones. Far more than what the US government ever gave to various Indian tribes. Finland refused, and after the Finnish provocation on the border the war began. Three months later, the territories requested by the USSR were received.