put the fear of God in someone
put the fear of God in (one)
To cause one to greatly fear the potential consequences of something, such as misbehavior, typically by threats or a graphic description of such consequences. Our chemistry teacher has put the fear of God in us about fooling around near the chemicals and acids. Nearly getting hit by that car really put the fear of God in me—I'll never drive when I'm so tired ever again!