Water converting into H2 and oxygen and burning back into water again does not deplete the water supply.
The problem is net drain in energy to do either conversion.
A small amount gets burned in the motor and returns to water , but most of the hydrogen escapes and will never get bonded with oxygen, the water is lost forever