Buying a house with water leaking
If water damage occurred once it’s not likely to stop unless the problem- aka the flow of water- is corrected.
Is the house located in a high-flood area? Is something important (like the roof or basement) leaking?
This could lead to expensive irrigation systems and internal repairs.
I heard a horror story of a house that began with a water spot on a wall, and led to removing the floor to do major ratification work.
Water damage is often a sign of a bigger problem.
Unless you can trace it to its source and identify how to stop it, it might be best to steer away from water-damaged property altogether.
Why sign up for trouble?