Rainwater for the washing machine?
Provided it is installed correctly, using rainwater in the washing machine is completely safe.
The bacterial count of soiled, unwashed laundry is the same as the bacterial count of rainwater. So after washing, everything is not just clean, but pure. And if you live in an area with highly calcareous tap water, the softer rainwater from a cistern is often even better for the laundry than the hard tap water.
Advantages
Using rainwater for washing clothes has a number of advantages.