Parshas Beshalach · Passuk 17:9
Chabad.org — English translation + Rashi
Torah Temimah points to Mechilta (verified).
Sefaria — Exodus 17:9
Sefaria — Mechilta
English: “Choose men for us” — mighty men, God-fearing, and skilled in war. “I will stand on the top of the hill” — to teach that victory depends only on prayer.
In context: See the cited source for the full section.
Derash on the verse.
Yehoshua was to select suitable warriors for the physical fight while Moshe would stand in prayer on the hill, showing that victory depends on prayer.