The IEA states that:
In 2024, 80% of the growth in global electricity generation was provided by renewable sources and nuclear power. Together, they contributed 40% of total generation for the first time, with renewables alone supplying 32%.
So 32% of new electricity generation in 2024 was provided by renewables. In 2023 renewables accounted for about 23% of electricity generation, and 13% of total energy consumption.
Water is essential to human survival, so I would consider that a primary problem. Trace pharmaceuticals in drinking water aren't great, but I would consider that a secondary (or even tertiary) problem, and a solvable one at that.
To start, the vast majority of water use is agricultural (nearly 90% in Colorado, for example), and soil & plants provide 2 more layers of biofilters for any contaminants that might remain. This paper delves into that, although from the cursory glance I gave it's not clear whether the concentrations are anywhere near an effective dose. My guess is no:
If recycled water was used purely for agriculture (drawing on watersheds & aquifers for drinking water), I imagine that would solve the scarcity issue while further diluting pharmaceutical contamination. When it comes to recycling drinking water, Harvard Health Publishing says that not much research has been done in this area, and I do think that's important to look into if (when?) water recycling becomes more of a necessity.