Curious?

What would you do if you decided to help a person who seemed depressed or down, in a way that would make them feel more happier, but then they made a choice to leave you behind?

I understand that feelings are a contribution to a growth mindset but sometimes when you help someone you can sort of feel left behind as they have taken from you what they have learnt from you, to then succeed in their own way.

The people that encourage us and help us should always be there but sometimes people decide to let go?

Asking for advice! Kind comments pls.