Yep. But the pipe can go uphill in between, so longnas the down hill bit is longer than the uphill bit.
And when a burst main started flooding the shared basements of a block of flats, it took the local council (DenHaag) less than 4 hours to run a 100mm pipe 380m from a nearby canal, under and adjacent block of flats and into a 1m x 1m x 1m sump dug into the basement floor by 2 men with kangos and spades.
A hose pipe, a couple of non-return valves and what looked like an upturned washing up bowl on stilts and a no power required, permanent auto-siphoning drain was installed. Amost entirely maintenance free, although it did have what looked something like an industrial sized lift flush handle to re-prime it if the valves leaked.
The Dutch like low-tech, green solutions.