Break Someone’s Heart

What does the idiom “break someone’s heart” mean?

Definition: make someone extremely sad, often by ending a romantic relationship

Example: I had my heart broken a few times before I found the right guy/

Note: You can also use this in nonromantic situations—it broke my heart to see all those kids begging at the railroad station.