“Blessed be God, even the Father of our Lord Jesus Christ, the Father of mercies, and the God of all comfort; Who comforteth us in all our tribulation, that we may be able to comfort them which are in any trouble, by the comfort wherewith we ourselves are comforted of God.”
— 2 Corinthians 1:3-4 (KJV)
God comforts you in your pain not just for your sake, but so you can turn around and comfort others going through the same thing.