Now, people will say "bUT tHe sUn dOeSn'T sHiNe aT NiGhT", and that's true for the moment. Right now, we cannot shift everything to solar and wind. But if you pay attention to battery development, you don't need to be Einstein to see that pretty soon, we will be able to cost-efficiently store large amounts of energy, distribute it and use it in a way which will solve this intermittency problem.
You can look at the data and read more about this here: https://ourworldindata.org/cheap-renewables-growth