Put Someone in His/Her Place

What does the expression “put someone in his/her place” mean?

Definition: Bring someone who is acting arrogant down to earth; rebuke someone

Example: Dave has been acting like this whole project was his idea, but today the boss put him in his place.