Why just in the last 5 years? They got a lot of money from the EU since 2004. And that's fine, because the EU also profitted from their membership.
All relatively poorer EU countries are net receivers, but not all of them are able to use that money effectively, at least some because of huge corruption. So good for Poland they've been able to invest that money into good causes.
They're probably focusing on people who work rather than trying to tax people who work and innovate to pay for people who don't work or innovate. Strangely, focusing on economics is good for economies
> How much money did they get from EU in last 5 years?
A lot. About 1 percentage point of Polish GDP in 2025.
They also had a lot of government spending, with the 2025 budget deficit being 7% of GDP.
Minimum wage was raised with ~10% in January 2025.
There is an irony in people attributing it to conservatism/rightwing politics rather than pretty much the exact opposite. Spain is another example of economic growth in the EU.