Contrary to a popular belief, most high temperature Geothermal plants have a predicted death date.
This is due to the physics reality of the ground itself: Power of a Geothermal well will decay over time to a point where the well become unusable and need to be closed.
It is due to the fact underground water is rich in minerals and raw elements. This soup will slowly but surely cement the well itself and its associated underground.
There are techniques (similar to 'fraking') to extend the lifetime of a well but only to some extent.
If the topic interests you (and you can bear artificially translated English), a French content creator did a pretty good video on the topic:
https://m.youtube.com/watch?v=q4xZArgOIWc
Additionally, Geothermal plants can emit CO2 (even a lot of CO2) in some geological configuration.
All of that makes Geothermal (for electricity) a bit controversial as "Renewable".
I precise that there is absolutely nothing wrong about low temperature Geothermal energy for residential heating and we should do more.