Why is sewage pumped into rivers and the sea?

Why is sewage pumped into rivers and the sea?