What is an example of compensation as a defense mechanism?

What is an example of compensation as a defense mechanism?