They do not outlaw jobs, they outlaw payment that is too low.
Those jobs will still exist, and will still be the same. It's not even a case of "immigrants steal our jobs", since most of those aren't jobs your regular German is willing to do anyway.
The previous German government consisting Christ Democrats and Liberals always opposed changes that might endanger jobs. Therefore they give large companies subsidies for energy costs, because they might built their next facility outside of Germany, which would mean less jobs, less taxes, no more economic growth. After all economic growth is their holy grail, working 40 hours a week, having plenty of buying power on their low salaries, which does check out because of rather low prices of inferior goods.
But things have changed a little bit after the last elections. The liberals didn't make the cut to get into the parliament, mostly because of their bad reputation from massive Lobbying, and their prior failure in the Bavarian elections, which caused a nationwide backlash. The Christ Democrats, having lost their longstanding coalition partner and only about a third (34.1%) of all votes, were faced with three left-wing Parties; the Social Democrats, The Left and the Green Party. All of them wanted minimum wages and tax increases for top earners. While The Left and the Green also had a number of very inconvenient ideas for the German economy, they weren't willing to give up, like 'not build' more lignite power plants, to 'not stop' subsidizing renewable energies, like it is still done with conventional energies, the Social Democrats were willing to compromise.
In the end a coalition between Christ and Social Democrats was formed, they agreed on a minimum wage, which doesn't adapt to inflation, they agreed on no tax increases and they agreed on the continuation of sodomizing the environment. They've found a new enemy which is killing, it's called "energy turnaround". If employers have to pay higher wages for workers they surely can't be brought up to pay energy costs as well - their internal logic. Therefore they want to put a stop for solar and wind power, promote energy from lignite plants, since there are a lot of lignite deposits here in Germany. Lignite extraction could create jobs on a large scale, which is good for the economy, never mind the COx emissions, China and India doesn't care much about that as well, so why should we do? (again, their logic not mine)