Light a Fire Under Someone

What does the idiom “Light a Fire Under Someone” mean?

Definition:

Inspire someone to work very hard

For example:

“When the dean threatened to expel me because of my bad grades, that lit a fire under me, and I started to study harder.”