If whatever we do is in search of happiness, then why is there so much pain and misery in the world?

Sri Sri Ravi Shankar:

There is a story of Mullah Nasserudin. His wife was pregnant and the time of delivery had come. But the baby was not coming out. When doctor told this to Mullah Nasserudin, he ran to the market, bought a toy, and kept that toy in front of her wife. He said, “After all this is my child, so he will surely come out with greed”. Whole our life we keep on running behind things with the hope of getting something. We keep on looking for some kind of profit. How would such person experience happiness? Neither does a greedy person get happiness nor does a person who is bombarded with too many desires. The one who relaxes in his consciousness, is happy. One who is centered, experiences the true happiness. I am not saying there is no happiness in the outer world, but the happiness you get when you go within is incomparable. The world is running in search of happiness. The body gets baked, the mind gets baked, the intellect gets deluded but still we keep on getting stuck in the same repetitive cycle. When you meet the Guru, you come to know that you are the source of happiness. Then the mind calms down, and you realize that you are the one in whose search you kept on running here and there.