Who are we to question God? The story of Job shows how we question God especially in our trials. Trust God in all things, good and bad, happy or sad. Our vision is limited but his is eternal. The commentary below sums up the scripture. In the scripture when God proves to Job, he is God and knows all things and created all things.
“For the humbling of Job, God here shows him his ignorance, even concerning the earth and the sea. As we cannot find fault with God’s work, so we need not fear concerning it. The works of his providence, as well as the work of creation, never can be broken; and the work of redemption is no less firm, of which Christ himself is both the Foundation and the Corner-stone. The church stands as firm as the earth”. ~ Matthew Henry’s Commentary
“Have you ever given orders to the morning,
or shown the dawn its place,
that it might take the earth by the edges
and shake the wicked out of it?
The earth takes shape like clay under a seal;
its features stand out like those of a garment.
The wicked are denied their light,
and their upraised arm is broken.
“Have you journeyed to the springs of the sea
or walked in the recesses of the deep?
Have the gates of death been shown to you?
Have you seen the gates of the deepest darkness?
Have you comprehended the vast expanses of the earth?
Tell me, if you know all this.
“What is the way to the abode of light?
And where does darkness reside?
Can you take them to their places?
Do you know the paths to their dwellings?
Surely you know, for you were already born!
You have lived so many years!
“Have you entered the storehouses of the snow
or seen the storehouses of the hail,
which I reserve for times of trouble,
for days of war and battle?
What is the way to the place where the lightning is dispersed,
or the place where the east winds are scattered over the earth?