who comforts us in all our troubles, so that we can comfort those in any trouble with the comfort we ourselves have received from God.
KJV
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.
ASV
who comforteth us in all our affliction, that we may be able to comfort them that are in any affliction, through the comfort wherewith we ourselves are comforted of God.