That’s probably why we evolved emotions in the first place. First to create and protect your own offspring and then to allow allegiances against the elements and other creatures.
If it is accurate to consider the philosophical concept of a valence as a fundamental building block of emotions, then I think I'm fairly comfortable going a step further from just the evolutionary explanation of emotions to a more positive directive around emotional development within ones self and the support of that development within others as being a deeply moral action as well.