This quote is suggesting that you should grasp any opportunity for happiness that you find, and not stress too much about what other people think. The speaker is drawing on their own experience, and they believe that we as humans only have two or three chances of finding happiness during our lives. If we do not take advantage of those opportunities, we will regret it in the long run.