The Lord Almighty planned it. He planned it in order to put an end to their pride in what they had done and to humiliate their honoured ones.