That is factually incorrect. Even though politics blocked a faster increase of renewables Germany was able to greatly reduce fossil fuels usage for electricity production even while exiting nuclear:
https://de.m.wikipedia.org/wiki/Datei:Energiemix_Deutschland...
Nuclear currently is not able to that because of cost: https://commons.wikimedia.org/wiki/File:20201019_Levelized_C...
Also new nuclear reactor projects are getting finished too slow: https://en.wikipedia.org/wiki/EPR_(nuclear_reactor)#Plants_u...