Riding through water like that is not only dangerous but could damage your bike. One of the leading causes of deaths from floods is people trying to drive their cars across flooded roads. It also can't be good for the bearings in wheels, bottom bracket, etc. to be fully submerged in water while riding.