Now trying to make a direct relationship between Western prosperity and the "democracy" is very famous opinion (after all this the official ideology of US, and it's the brand/image that they want to sell to the world). But there are many different variables here, for example the west has a long history of colonialism that allowed them to make fortunes off the resources and the power of other people, even what looks like peacefull countries now, benefited from this. I'm not saying that having freedom of speech is not necessary, but it's merely a catalyst. Actually USSR (and even Nazi Germany) made huge jumps in the scientific and technological fields but the western bloc won eventually. You can probably make a direct link between the US control over the oil industry (by means of very dirty wars and alliances, see for example KSA relation with the British Empire then the US). There is a nice critic for the marxist prediction that the working class will make a revolution in the capitalist world and the working class is one unified entity in all the world, the critics said that this didn't happen because the colonialism allowed the capitalist regimes to give the working class in their countries more money / value that's extracted from the colonised countries. Now apply this logic to the western bloc and it you will have altrnative view, the western bloc is not ruling because it's democratic, and it's not stable becuase it has freedom of speech and not rich because of the magic of the free market, it's because of those countries being rich and able to control the other countries they were able to pump fortunes and make even the poor worker much better than his colleagues in the 3rd world countries. If my prosperity and my cheap energy was dependent on making a war in a far place called the middle east and making alliances with any dirty tyranny there then I'll be more prepared to buy into the official propganda that we're going there to fight for our values. So while technically there is good amount of freedom of speech, but in practice there is rarely deviation from the main narrative and even the alternative naratives are too weak or they're not radically different from the mainstream ones, this is one of the reasons that the west countries had been relatively stable, in our Third world countries we're always in active fight about the big choices to take so we're mostly on the edge of civil wars and revolutions and wars with external enemies.
P.S I'm really in no position to defend Russia, but just imagine that US faced similar danger on it's border similar to Russia with NATO backed Ukraine, actually no need to imagine, this happened multiple times From Cuba to Venezuela to many south american countries, the thing is the US in most cases didn't need to go into direct war instead it needed to orchestrate coups and civil wars and then convince the world it's all about democracy.