Cut (Someone) to the Quick

What does the idiom “Cut (Someone) to the Quick” mean?

Definition:

To deeply hurt someone emotionally

For example:

“When you criticized my singing, that really cut me to the quick.”