It's so tricky. You can do most things right like Denmark/Netherlands, then you mess up just one (housing) and the far-right surges. Now you can't import immigrants to deal with your aging population, which means you're on a timer.
Or your neighbor goes far-right (US, maybe eventually Germany/France) and suddenly they start objecting to your internal policies (eg regulating big tech).
Or Russia+Covid combo suddenly inflating all kinds of prices, and again the far right surges.
Yes, extremely tricky. Imo the current ruling class just needs to mess up just on thing, because there is a deep underlaying discontent with the subjectively felt way of living in our modern societies. So housing / migrants are just the spark.