Eliphaz proceeded next to judge Job"s motives. He assumed Job had concluded that because God was far away in heaven, he would get away with sin on earth. However, Job had affirmed God"s omniscience ( Job 21:22). [source][source][source]
"Presuming to read Job"s secret thoughts, Eliphaz puts in Job"s mouth blasphemies untrue to the sentiments he has actually expressed ( Job 22:12-14)." [1][source]
Perhaps Eliphaz had in mind the wicked of Noah"s generation in Job 22:15-16. In Job 22:18 a Eliphaz seems to be admitting that some of the wicked do prosper temporarily. In his view, Job had been one of these fortunate individuals. [source][source][source]