Ecclesiastes 7:13 in the King James Version
Consider the work of God: for who can make that straight, which he hath made crooked?
Context
12 For wisdom is a defense, even as money is a defense; but the excellency of knowledge is that wisdom preserves the life of him who has it.
13 Consider the work of God, for who can make that straight which he has made crooked?
14 In the day of prosperity be joyful, and in the day of adversity consider; yes, God has made the one side by side with the other, to the end that man should not find out anything after him.