A few drops of Clorox will help. There are tablets for hikers and campers.
You are correct, but I've seen many hikers in the Sierras that have no clue about such things and they drink the water in lakes and streams.