"...In everything give thanks; for this is the will of God in Christ Jesus for you." (1 Thess. 5:18)
Here are Matthew Henry's, the well known Bible scholar, comments after he had been robbed.
"Let me be thankful, first, because I was never robbed before; secondly, because although the
thief took my wallet, he did not take my life; thirdly, because although he took my money, it
wasn't much; and, fourthly, because it was I who was robbed, and not I who robbed."
Let us give thanks in all things.