Job's faith fell apart and God lost that bet.
He is the first cause and determiner of all things
Isaiah 46:8-10
“Remember this and stand firm,
recall it to mind, you transgressors,
9 remember the former things of old;
for I am God, and there is no other;
I am God, and there is none like me,
10 declaring the end from the beginning
and from ancient times things not yet done,
saying, ‘My counsel shall stand,
and I will accomplish all my purpose,’
As he says. God is the Alpha and the Omega.
Jesus was the lamb slain before the creation of the world.
His Lamb's book of life was written then also. Before the foundation of the world.
God tells us, he consigned all people to disobedience so he could show mercy.
See, Romans 11:32
Amos 3:6
Is a trumpet blown in a city, and the people are not afraid? Does disaster come to a city, unless the Lord has done it?
I form light and create darkness; I make well-being and create calamity; I am the Lord, who does all these things.
Isaiah 45:7