Alexandre Dumas said this quote

He who has felt the deepest grief is best able to experience supreme happiness. We must have felt what it is to die, Morrel, that we may appreciate the enjoyments of life. Live, then, and be happy, beloved children of my heart, and never forget, that until the day when God will deign to reveal the future to man, all human wisdom is contained in these two words, - ‘Wait and hope.’ – Your friend, Edmond Dantes, Count of Monte Cristo. The eyes of both were fixed on the spot indicated by the sailor, and on the blue-line separating the sky from the Mediterranean Sea, they perceived a large white sail.