Used for emphasis, similar to crap, shit or wits.
He said you confused the bejesus out of him
Expressing surprise, annoyance, dismay, or anger.