It’s a good thing. Hashem created people this way to help them do the right thing. All you have to do is put yourself in the right crowd.
Of course, it’s best to do it for the right reason. However, until you reach that level, doing it to fit in is terrific. It is very detrimental that people nowadays totally discount anything that is not done for the best reason. I wish I could say I only did the right thing always, even if it was “just” because of yiras haonesh or so I could maintain my place in society.