At the heart of every faith system is a bargain: on one side there is the comfort that comes from a narrative that suggests human life has cosmic significance, and on the other a duty to yield to moral commands that can, in the moment, seem rather inconvenient.
Since you get more joy out of giving joy to others, you should put a good deal of thought into the happiness that you are able to give.