Add Insult to Injury

What does the idiom “Add Insult to Injury ” mean?

Definition:

Humiliate someone in addition to doing damage to him or her

For example:

“My boyfriend broke up with me. Then he added insult to injury by lying about when he had started seeing Valerie.”