Exodus 4:24

And it came to pass by the way in the inn, that the Lord met him, and sought to kill him.

Cross-reference

In Genesis 17:14, uncircumcision brings being cut off — the same principle behind God's attack on Moses for neglecting his son's circumcision.

In Leviticus 10:3, God declares He must be sanctified by those who approach Him — the same principle behind the attack on Moses for his failure.

In Numbers 22:22, God's anger similarly leads to an angel blocking Balaam's path — a parallel sudden divine confrontation with a reluctant prophet.