Ecclesiastes 7:3
"Sorrow is better than laughter: for by the sadness of the countenance the heart is made better."
Cross References (ranked by relevance)
For our light affliction, which is but for a moment, worketh for us a far more exceeding and eternal weight of glory;
Blessed are ye that hunger now: for ye shall be filled. Blessed are ye that weep now: for ye shall laugh.
It is good for me that I have been afflicted; that I might learn thy statutes.
Before I was afflicted I went astray: but now have I kept thy word.
And said, O man greatly beloved, fear not: peace be unto thee, be strong, yea, be strong. And when he had spoken unto me, I was strengthened, and said, Let my lord speak; for thou hast strengthened me.
Woe unto you that are full! for ye shall hunger. Woe unto you that laugh now! for ye shall mourn and weep.