Yeah, the LORD spoke to Job and said who is this that darkens counsel with words without knowledge. You think the LORD didn't know Job? The LORD tells Elihu to gird his loins like a man and answer him, or it would be required.
But it is understandable that you can't believe what Elihu said were words without knowledge, but let me ask you if you believe that Job was perfect and upright?
Then the Lord answered Job out of the whirlwind, and said:
Who is this who darkens counsel
By words without knowledge?
Now prepare yourself like a man;
I will question you, and you shall answer Me.
(Job 38:1-3)
please notice the scripture says God answered Job and spoke to Job.
please notice Elihu's name is not here at all.
please notice that throughout the previous 37 chapters every speaker addresses who they are speaking to.
please notice that God says to the one He is speaking to, "I will question you and you shall answer Me"
Moreover the Lord answered Job, and said:
"Shall the one who contends with the Almighty correct Him?
He who rebukes God, let him answer it.”
Then Job answered the Lord and said:
“Behold, I am vile;
What shall I answer You?
I lay my hand over my mouth.
Once I have spoken, but I will not answer;
Yes, twice, but I will proceed no further.”
Then the Lord answered Job out of the whirlwind, and said:
“Now prepare yourself like a man;
I will question you, and you shall answer Me:
(Job 40:1-7)
please notice that it is Job who replies and Job definitely knows it is Job that God has been speaking to
please notice that Elihu is not mentioned here at all and neither Job nor God seem to be speaking to him.
please notice that Job responds exactly as though God is speaking directly to him, as the scripture itself explicitly says multiple times.
please notice the scripture does not give any indication whatsoever that God is speaking either to or about Elihu.
please notice you are the only one adding this to His word.
Then Job answered the Lord and said:
“I know that You can do everything,
And that no purpose can be withheld from You.
‘Who is this who hides counsel without knowledge?’
Therefore I have uttered what I did not understand,
Things too wonderful for me, which I did not know.
(Job 42:1-3)
please notice that Job explicitly confesses that he, Job, is the one who has been speaking without knowledge.
please notice Job gives absolutely no indication that God has been speaking to or about anyone but him.
please notice that God gives every indication He has been speaking to and about Job.
please notice that you are the only one saying God wasn't talking about Job.
please notice the complete lack of credibility your interpretation here has.
And so it was, after the Lord had spoken these words to Job, that the Lord said to Eliphaz the Temanite,
“My wrath is aroused against you and your two friends, for you have not spoken of Me right, as My servant Job
(Job 42:7)
please notice that the scripture 100% clearly says God has been speaking to Job, not Elihu.
please notice Job has taken all of the things God said to Him to be with reference to him, not Elihu.
please notice that God specifically rebukes Job's three friends, addressing Eliphaz, and that God does not rebuke Elihu.
please notice that the view you've given has no support in the scripture at all.