The world needs a new source of energy, an unspillable source.

How much energy does it take to access geothermal energy?

My understanding is that the earth’s molten lava is several miles within it’s crust and it takes a lot of energy to drill that deep to it? Clear me up on this. Thanks