Since raising water seems to fascinate you, here is a workable, psuedo-perpetual machine.
Anchor a reverse osmosis filter in deep ocean water. Run the output pipe up to the surface. The pipe fills with fresh water which is less dense than salt water, so a pressure differential across the RO membrane is maintained sustaining the flow.
You can extract energy from this flow. It also provides a continual source of fresh water.
Doesn't violate any thermodynamic laws and the oceans are large enough that it would take a LONG, LONG time to run the fundamental source out. I'll leave it as an exercise for the student to figure out why this isn't widely done.