Moses
Exodus 17:9ESV·traditional attribution

So Moses said to Joshua, “Choose for us men, and go out and fight with Amalek. Tomorrow I will stand on the top of the hill with the staff of God in my hand.”

Matthew Henry Presbyterian @wholebiblehenry

We have here the story of the war with Amalek, which, we may suppose, was the first that was recorded in the book of the wars of the Lord, Num 21:14. Amalek was the first of the nations that Israel fought with, Num 24:20. Observe, I. Amalek's attempt: They came out, and fought with Israel, Exo 17:8.

Commenting on Exodus 17:8-16

John Gill Reformed Baptist @doctorgill

And Moses said unto Joshua,.... The son of Nun, who was his minister, and was a man of war from his youth, trained up in the art of war, and afterwards succeeded Moses, and was captain of the armies of Israel, and fought at the head of them, and subdued the Canaanites.

Jamieson-Fausset-Brown Reformed @jfbcommentary

ATTACK OF AMALEK. (Exo 17:8-16) Then came Amalek--Some time probably elapsed before they were exposed to this new evil; and the presumption of there being such an interval affords the only ground on which we can satisfactorily account for the altered, the better, and former spirit that animated the people in this sudden contest.

Commenting on Exodus 17:8-16