Psalm 90:15
"Make us glad according to the days wherein thou hast afflicted us, and the years wherein we have seen evil."
Cross References (ranked by relevance)
For his anger endureth but a moment; in his favour is life: weeping may endure for a night, but joy cometh in the morning.
Verily, verily, I say unto you, That ye shall weep and lament, but the world shall rejoice: and ye shall be sorrowful, but your sorrow shall be turned into joy.
And in that day thou shalt say, O LORD, I will praise thee: though thou wast angry with me, thine anger is turned away, and thou comfortedst me.
To appoint unto them that mourn in Zion, to give unto them beauty for ashes, the oil of joy for mourning, the garment of praise for the spirit of heaviness; that they might be called trees of righteousness, the planting of the LORD, that he might be glorified.
Blessed are they that mourn: for they shall be comforted.