The context of the following conversation is Robin had been driving drunk, when the cops caught her they had no sympathy, she spent the night in jail.:
Robin says I can't believe I had to spend the night in jail!.
The friend responds What happened?.
Robin responds I was driving drunk and when the cops caught me they had no sympathy..
The friend responds Well, those are some of the consequences of driving drunk..
Robin responds Yup, I sure learned my lesson. I will never do it again..
The friend responds I'm glad you learned a valuable lesson from all this..