Meaning
To learn something through difficult experience.
Literal Meaning
The difficult way.
Example
“I learned the hard way that trusting everyone can lead to disappointment.”