Exodus 13:17; Exodus 32:12; Exodus 32:14

17 And it came to pass, when Pharaoh had let the people go , that God led them not through the way of the land of the Philistines, although that was near; for God said , Lest peradventure the people repent when they see war, and they return to Egypt:
12 Wherefore should the Egyptians speak , and say , For mischief did he bring them out, to slay them in the mountains, and to consume them from the face of the earth? Turn from thy fierce wrath, and repent of this evil against thy people.
14 And the LORD repented of the evil which he thought to do unto his people.