“No grave trouble will overtake the righteous.” — Proverbs 12:21, NKJV
This is a general, but not universal truth. Although harm does befall the righteous, they are able to see opportunities in their problems and move ahead. The wicked, without God’s wisdom, are ill-equipped to handle their problems.