Fear of YHWH prompts repentance, but that fear takes different forms depending on our relationship him. Before we are restored to him, we are afraid of his retribution. Afterward, our terror is transformed to a healthy and fearful respect and our repentance becomes an ongoing process of sanctification.
Proverbs 16:6