Precisely these laws exist so that the amount of money that is extracted from businesses (which includes young freelancers) is maximised and then given to pensioners.
It’s a sign of an economic system that is nearing collapse. A wealthy country has no need for these shenanigans.