The Rambam writes that when a father chastises a child, he should “fake anger” in order to instill discipline into him. The notion of “faking” anger is precisely the point. No one should ever depart from the middle path. But a child has to be trained to behave correctly. Therefore, like God Himself, Who, according to the Rambam, led Bnei Yisrael slowly but surely to the right path, the father leads the child to the right path of Torah and mitzvot. When a father, a teacher, or any one has successfully extirpated his passions, and any anger that he possesses is only “fake anger,” he can be said to be truly imitating God.