You are correct. We must shift to other sources of power, with nuclear being the obvious way to go.
It’s too late. It could have been done starting in 1975 and done it painlessly. But we decided to party. Now the switchover will still take 25 years and it might not be economically possible, that remains to be seen. We are now beginning 25 years of paying for the party if we can.