God came restore us with grace, comfort, and fullness. Job was blessed when he endured.
In Genesis 50:20 Joseph says,
"But as for you, you meant evil against me; but God meant it for good, in order to bring it about as it is this day, to save many people alive. "
The New King James Version (Nashville: Thomas Nelson, 1982), Ge 50:20.