Then you know that chapter 37 was spoken by Elihu. Are you trying to imply everything Job's friends said was true? While God dealt with Job directly his friends were wrong about God.(Just because Job's wife said in Job 2:9 to "curse God and die" doesn't mean it's good advice.) Even though Elihu was a young man he seem to have a better view of God than the rest of Job's friends. Notice God spoke well of Job and not his friends or Elihu. Job were wrong about a lot of things which is why God rebuke him.
The whole thing about Elihu was he was not a wise old man just a young lad listening to the conversation between Job and his friends.
Was it Elihu in chapter 37? It's been a while since I read Job. I knew it was't God talking. But there is a rebuke to a counselor in verse 2. He's speaking to Job, but it's a smack to a counselor by his side.
Who is this who darkens counsel By words without knowledge?"
IOW's he's asking Job about a counselor that is before him. You see Job was asking a lot of questions and as is human nature, people rose up and attempted to answer. And so God spoke to Job and asked Job, who is this guy you're listening to? Who is this that is trying to counsel without any real understanding. You see, I don't think that comment can't be directed toward Job, as he's the counselee. Then, interestingly God offers a rebuke to human understandings of cosmology. Now I'll have to look at it closer, but that seems to be a direct rebuke to Elihu's cosmology arguments that immediately preceded. God immediately ask where were you on creation day? Rhetorically Job was not there, nor was any other human being, including Elihu. How could they possibly make arguments from cosmology?
Elihu was young, I'm not sure how young. God seems less offended by him than the others. But the bottom line, Elihu was not speaking under inspiration, nor were the other 3 counselors, nor Job himself. This is why quoting Job 37 to prove biblical solid dome cosmology is so misguided.
Here's a commentary I came across that gives another angle though along the same lines.
We believe that God did indeed ignore Elihu, not only refusing to mention his name, although mentioning the names of all others named in the book, God also interrupted and terminated Elihu's remarks with a question addressed to Job, "Who is this that darkeneth counsel by words without knowledge"? (Job 38:2). Such an evaluation as that cannot be applied to Job's words, because God Himself said that, "My servant Job has spoken of me the thing that is right" (Job 42:7,8). Moreover, God specifically stated that the three friends, Eliphaz, Bildad and Zophar had spoken "folly" (Job 42:8); and Elihu's words, in almost every particular, are the same as those of the three, only more vituperative and derogatory toward Job. There is no way that we could accept Elihu's long and ridiculous speeches as any kind of a proper introduction to what the Lord would say out of the whirlwind. God answered Job and his friends by name, and ignored Elihu altogether, except in the derogatory words in the Lord's opening question to Job.
Stydylight.org
Again, the folly of using Elihu's words to prove anything.