King James Version
They were confounded because they had hoped; they came thither, and were ashamed.English Standard Version
They are ashamed because they were confident; they come there and are disappointed.New International Version
They are distressed, because they had been confident; they arrive there, only to be disappointed.