This is why I use an activated charcoal filter. They clean water via chemical adsorption. There are caveats. The longer the water is exposed to the charcoal the more contaminants will be removed, and they don't kill or filter bacteria and viruses.

You can always boil water to kill bacteria and viruses so that's not hard to deal with if you're worried about it. There are places I hike where I don't worry about it.

It's worth pointing out that you need water. You can't let weight or inconvenience or fear of contamination keep you from staying hydrated. That can be as bad or worse than trace amounts of chemicals or bugs.

I'd carry stainless steel before I'd carry glass though. I wouldn't want to deal with broken glass.
_________________________
--

"You want to go where?"