"For God said, Lest peradventure the people repent when they see war" (Exodus 13:17). And who were they? The Rabbis said: They were the sons of Ephraim and the sons of Shuthelah, who, because they erred concerning the calculation of the appointed end by eighty years, fell, one hundred and eighty thousand of them. This is what is written, "The children of Ephraim, being armed, and carrying bows, turned back in the day of battle" (Psalms 78:9).
The Sons of Ephraim Who Rushed the End and Fell
Pesikta DeRav Kahana 11:10
[י] כי אמר אלהים פן ינחם העם בראתם מלחמה (שמות יג:יז). ומי היו, רבנין אמרין בני אפרים ובני שותלח היו, על שטעו את הקץ שמנים שנה נפל מהם מאה ושמנים אלף, הד"ה דכת' בני אפרים נשקי רמי קשת הפכו ביום קרב (תהלים עח:ט).