frighten someone out of their wits

US /ˈfraɪtən ˈsʌmˌwʌn aʊt əv ðɛr wɪts/
UK /ˈfraɪtən ˈsʌmˌwʌn aʊt əv ðɛr wɪts/
"frighten someone out of their wits" picture
1.

to make someone extremely scared or anxious

:
The sudden loud noise frightened her out of her wits.
The ghost story frightened the children out of their wits.