The Rambam explains that Moshe Rabenu's sin in the waters of dispute [Mei Meribah] was anger.
A person should stay completely away from anger, but there is a place behavior like anger.
According to the Rambam, the Torah's commandments are suitable for the general public and it is plausible that a private person might get hurt. Precisely this fact allows us to deepen and understand the wisdom of God.