The problem right now is that we need to find better ways to turn renewable energy into stable, reliable power. The power production problem is highly dependent on balancing power generation and demand, and any excess energy must be stored, used, or wasted.
The main benefit of gas/coal/etc. is that we can (almost) always control the output to a close margin based off of demand projections, which are typically updated every 15 minutes. That being said, the drawbacks of using this form of generation are obvious and need to be addressed.
For renewables like solar and wind, we can't always predict the output, so in the larger scale of power balance, we need to supplement it with something that can make up for fluctuations in generation. In the current system, this is from conventional sources.
The goal is to implement a robust energy storage system, ideally one that can hold a huge amount of excess renewable power during the day (largely due to solar), and reliable output that power when it is needed (higher demand at night). I would love to see the day where our nation is fully powered by renewables, and I'm super happy to see that there have been pushes to build up renewables, but the target scenario relies on big advancements in storage.
I would suggest anyone who is interested in what I said to look up "california duck curve solar" for some reading on what challenges solar overgen presents in bright and sunny states.
All that being said... we can do it! I sincerely hope we reach a point where we can phase out dirty generation across the globe, but it will take a lot of time and effort.
source: taking several power systems courses as part of my EE degree