No, not quite. Geothermal is powered by the accumulated heat stored in rocks from fission Uranium and other heavy atoms deep in the Earth (and other phenomena).
Geothermal hotspots do not reheat by fission or otherwise at the same speed that we extract their energy (if they did we'd be in trouble if we weren't extracting it!).
As I mentioned in another comment, build a Dyson sphere of solar panels around the Sun and it will last just as long. Build an all-Earth geothermal plant and the heat will be depleted.
How long would it take for the heat to be depleted? Humans have only managed to drill something like 12km into the earth because it gets too hot to go further.
By that definition, hydroelectric dams are not a renewable energy source for most of the year.