They are confounded because they had hoped; their arrival brings disappointment.
They were ashamed because they had hoped; they came thither, and were confounded.