Shemot / Exodus 17:11
וְהָיָה כַּאֲשֶׁר יָרִים מֹשֶׁה יָדוֹ וְגָבַר יִשְׂרָאֵל וְכַאֲשֶׁר יָנִיחַ יָדוֹ וְגָבַר עֲמָלֵק׃
And it came to pass, when Moshe held up his hand, that Israel prevailed, and when he let down his hand, Amalek prevailed.
Pshat פְּשָׁט
A banner or a prayer
Rashbam: this is how it is in war, while the fighters see the banner raised, they grow strong, and when it falls they flee. Ibn Ezra objects: if it were a banner, Aharon (Aaron) or Chur (Hur) would have raised it. Malbim: Moshe's hand rose when the people joined their prayer to his and believed, and fell when sins gained the upper hand.
How Rashbam, Ibn Ezra, and Malbim explain it
Remez רֶמֶז
The hand that stopped the sun
Midrash Tanchuma lists how Yehoshua inherited the honor of Moshe: both removed their shoes before holiness, both sang, both built an altar and wrote the Torah. And both stopped the sun: in the word "held up" (יָרִים) the midrash hears the prophet's verse, where "on high (רוֹם) it lifted its hands" stands beside "sun and moon stood still".
How Midrash Tanchuma explain it
Drash דְּרָשׁ
Where Israel looked
The Mishnah: do Moshe's hands make war or break war? No. This teaches you: as long as Israel looked upward and subjected their hearts to their Father in heaven, they prevailed, and if not, they fell.
How Talmud, Rosh Hashanah explain it
Sod סוֹד
Amalek within
Kedushat Levi: in every heart an evil part is hidden, called Amalek. The strength of Israel is in the mouth, in Torah and prayer: while the heart burns for the Eternal, evil has no power over it. When the hands slacken (רָפוּ), Amalek comes at once. Moshe's "hand" is this strength: when a person raises it, Israel prevails, and when he lowers it, Amalek prevails.
How Kedushat Levi explain it