Recycling wastewater into drinking water