Our perception is the key to joy and happiness.It is our perception that decides that how much happy or joyful we may become and nothing else. There are people who can only see thorns in a field full of roses and there are people who see a wildflower in a weed.
It is always our perception that will decide how much happy we will be. I remember a photograph of 3 kids who won a competition, the kid who came first was serious and long face but the one who came third was the most happiest and joyful and was jumping with joy, just for being there.
So it was just the perception of the kid which made him happy and not the competition in which he came third.
When you are happy within, the outside situations never bother you.