Wisdom 19:3

3 While the Egyptians were still mourning at the graves of their dead, they forgot why all this had happened, and they foolishly decided that the people they had begged to leave were runaways. So they chased after them. They were led into this as part of the punishment they deserved, so that they would suffer the rest of the torments they were due to receive.