Your stinky toilet water becomes clean water again, which ends in the river.
Producing drinkable water is not the aim of a regular wastewater treatment, but to get it clean enough, so it does not harm the environment (e.g. when the water streams in the Inn).
In our lab, old beer is poured in at the top and clean water comes out at the bottom.