This quote means that when one opportunity or path to happiness is no longer available, another one will be available. However, sometimes we might focus too much on the opportunity which has been taken away, and not enough on the new opportunity which has opened up for us.