It's more complicated than that, you are ignoring some significant facts.
First of all, Poland, your example, has major human rights issues.
Even ignoring the LGBT issues (the so-called "lgbt free zones" in Poland), Poland has practically abolished abortion rights. Abortion has been denied to Ukrainian women refugees that were rape victims.
Amnesty International: Access to abortion was further limited. Criminal charges were used to curtail freedom of expression. The authorities continued to erode the independence of the judiciary. Freedom of peaceful assembly was restricted. Violations of LGBTI rights persisted.
Ironically under the Soviet Union Poland was one of the first Countries in the whole Europe (and probably the World) to have legal abortion, because communist countries did not have to please the Catholic Church (or any church).
Under Vladimir Lenin, the Soviet Union became the first modern state in legalizing abortions on request — the law was first introduced in the Russian SFSR in 1920
So there's that.
The second issue is nationalism, mainly far right nationalism, that spread throughout Europe from the former eastern block, that was once put under control by the Soviets.
AfD in Germany, Sweden Democrats in Sweden (despite the name they have roots in white nationalist and neo-Nazi parties), Geert Wilders and his Party for Freedom in the Netherlands, Giorgia Meloni and FdI in Italy, Vox in Spain etc. etc.
Look at Milošević for an example gone really bad, former leftist, he joined ranks with far-right nationalists extremists and things went south.
A very popular representative right now in Europe is Viktor Orbán in Hungary, who took a more moderate approach but is still a far-right conservative dictator-wannabe who's causing lots of troubles to the EU.
All of the aforementioned far-right parties in Europe are allied to, or close friends with, Orban.
Third: the so called Visegrád Group formed by Czech Republic, Hungary, Poland and Slovakia, has strong ties to Germany, which in turn means they sustain German economy by importing their goods (combined, they are the second largest export market for Germany) and vice versa.
Last, but not least, the EU has invested a lot of money in those Countries and sustained their economy to keep them in, even though their politics have raised more than an eyebrow.
So it's like the end of WW2, by looking at the numbers one could think that the war produced the economic growth in Europe, but it actually was the Marshall Plan.
p.s. Poland is far from being one of the 3 major economies in Europe