The context of the following conversation is kai was a reasonable person who was listened to so he put her life in perspective.:
Kai says I know what she was going through was hard but this is just a temporary feeling.
The friend responds And she is young indeed..
Kai responds everything will be okay. I'll be there for her.
The friend responds It must hurt so much now though.
Kai responds I told her that after every bad thing that happens, there is good that happens. She is a good person and good things will happen to her.
The friend responds Kai that was really thoughtful of you.