That’s why you have a pump to move the water horizontally into different tanks. Then there is a 100m column and a 95m column forcing the water through the membrane.
So the pumps still need energy by “very little” energy because they are doing relatively little work.