Since you are all knowing, explain to me exactly how deep earth mining is less costly and better for the environment than deep earth drilling.
Easy, just compare the amount of pollution required to make a battery and a solar panel with the amount of pollution required to extract and burn fossil fuels for the equivalent power output over the duration of the renewable's working lifetime.
Oh, and don't forget. Fossil fuels are useless without an engine to burn them, so you need to account for those infrastructure costs as well.
Do it.