Driving through any depth of water can be dangerous.
Above 15cm you can lose control, your vehicle floats or the engine stalls as water enters the exhaust or air intake. You also can’t see the road conditions: has there been erosion or material on the road?