German electricity prices are so high because renewables need backup power plants and German law mandates that these plants (mostly coal and gas) are not allowed to operate unless wind and solar are unable to provide sufficient electricity.
Also, Germany‘s energy sector still accounts to 350 million tons CO2 emissions annually while France only accounts for 50 million tons CO2 p.a.
That’s the result of phasing out nuclear in Germany and over 70% nuclear in France in the electricity sector.
Unless you‘re Norway or Austria or any country with lots of hydropower, renewables are neither cheap nor do they significantly help to decarbonize the electricity sector.