It’s illegal or highly fined in a lot of other countries as well. (Especially during dry seasons)
In other countries they don’t cut you off from water infrastructure either though. Context is important.
Israel provides 13% of water. Hamas is responsible for the rest. They just build bombs with the water pipes instead.
(copied from other comment)
That’s atrocious. In your own property, no one else is going to collect it. That’s different from maing huge pipes and drainage systems over the city, just collecting what would otherwise be on your driveway or patio.
It’s one of those things that sounds dumb at first glance, but actually has a lot of sound reasoning behind it, read up on it more if you’re interested