Finland tried a project, drilling two 6km deep holes. The temperature at 6km depth is 120C. The idea was to pump water down one hole, and get heated water up from the second hole. But the rock wasn't porous enough, they could not get enough water to flow from the bottom of one hole to the other hole. So in the end, they couldn't extract enough heat out of the setup.
https://www.thinkgeoenergy.com/drilling-finlands-deepest-wel...