It is not healthy to stay or go where you are not celebrated. Not that you will be liked in every situation. But being continually rejected is not healthy, so sometimes you have to withdraw from the situation.
Everyone wants to be loved and accepted and there is nothing wrong with that.
Psalm 139:14:
14 I will praise thee; for I am fearfully and wonderfully made: marvellous are thy works; and that my soul knoweth right well.