I do these things because I decided to be a good person. That's the kind of man I want to be and my actions make it reality. No matter what happens in the world around me, with God's help I'll always be a good person.
It's like the Zen saying about the mountain and the cloud. The blue mountain and the white cloud depend on each other, but the white cloud will always be the white cloud and the blue mountain will always be the blue mountain.
TL;DR: Don't let the world tell you who you are and how to act. Ask God for wisdom and let that be an anchor for you.