This is all about the Golden Rule and that givers gain. Daniel was a great example of this principle. Joseph and Queen Esther too. Flourish where you are planted. Let your good works be evident in the midst of chaos.
Here is a distinct passage where we this in action.
We receive comfort to provide comfort.
Unfortunately fortunately we also receive sufferings for the same reason. It is a true dichotomy.
If you notice, God doesn’t spare from all troubles, but be encouraged as He both helps us through them and most definently uses them like no other (Romans 8:28 – if you don’t know it by heart, look it up).