Answer
The siphon pictured will work because the total change in height is negative.
Work Step by Step
Once the water or liquid is flowing within the tube it will continue to flow until the system cannot overcome gravity. Remember that it acts as a system, not as individual components. So even though some components must go against gravity, the net change in height of the system works with gravity.