I think you would only do it for the hot water input which isn’t potable after it runs through a traditional hot water heater?
The applicability of this advice is probably quite variable.
[0] https://www.epa.gov/lead/why-cant-i-use-hot-water-tap-drinki...
Water heater tanks include different metals in contact with the water, which creates a galvanic cell. Over time this corrodes the least noble metal. The rod is added in the design to corrode before pipes do. The rod is usually magnesium, aluminum or aluminum-zinc. It slowly but steadily leeches out the rod metal into the hot water supply.