The book of Job

Although Jobs friends were trying to help job out and are believer of Christ. Why were they then faulted and said to have say things that were untrue? I was reading the book of Job and this kinda stood out to me. Also shoutout my man Job for holding it down and not assume it was unjust