The Egyptians have something similar except its more that 4000 years old and is called a Nileometer !!!
This is of course how they wanted it. It's not as if these civilisations could not build safety walls.
https://static.boredpanda.com/blog/wp-content/uploads/2020/03/8-5e74bb27832fc__700.jpg https://static.boredpanda.com/blog/...-jerk-cats-vs-dogs-102-5f5878caee27a__700.jpg https://static.boredpanda.com/blog/...unny-jerk-cats-vs-dogs-5f55ffe008eca__700.jpg https://static.boredpanda.com/blog/wp-content/uploads/2020/09/5f5778e1d2ae7_3zknemtuo3s01__700.jpg