Job 6:20
They are confounded because they had hoped; their arrival brings disappointment.
Berean Standard Bible
They were confounded because they had hoped; they came thither, and were ashamed.
They were distressed because they were confident. They came there, and were confounded.