Victor Hugo said this quote

Happy, even in anguish, is he to whom God has given a soul worthy of love and grief! He who has not seen the things of this world, and the heart of men in this double light, has seen nothing, and knows noting of the truth.