Rant mode: Engage!
Your neighbor is right, but shouldn't be.
He's right in the specific case of Texas and probably much of the SW United States.
Texas in particular has a very clay heavy soil, which expands and contracts more dramatically with varying moisture than other soils. Rather than building foundations that can adequately cope with the forces involved, it is much cheaper for developers to build mostly ordinary slab-on-grade foundations, and make the buyer responsible for perpetual maintenance of the soil's moisture level. Rather than have the house more expensive but a mostly onetime cost, a constant cost of watering is incurred forever.
It is such a problem that foundation repair is a lucrative business in texas. It isn't a matter of if a building will eventually need repair, it's when.
So, it is very common for Texas homeowners to run soaker houses around their houses they are run a slow trickle, all day, every day. Usually pumped from groundwater.
Houston is one of the fastest sinking cities in the world, the only North American city to make the top-10 list. Surely just a coincidence and not partially the result of what I've described above.
https://www.weforum.org/agenda/2022/04/coastal-cities-flooding-sinking-climate-change/