It sounds natural to me. But you can use a more specific word depending on the context: We were piping the water in a different direction. We were diverting the water.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.