וַיֹּ֤אמֶר שְׁמוּאֵל֙ אֶל־שָׁא֔וּל אֹתִ֨י שָׁלַ֤ח יְהוָה֙ לִמְשָׁחֳךָ֣ לְמֶ֔לֶךְ עַל־עַמּ֖וֹ עַל־יִשְׂרָאֵ֑ל וְעַתָּ֣ה שְׁמַ֔ע לְק֖וֹל דִּבְרֵ֥י יְהוָֽה׃ (ס)
Samuel dit un jour à Saül: "C’est moi que le Seigneur avait envoyé pour te sacrer roi de son peuple Israël; maintenant donc, obéis aux paroles du Seigneur.
Mishneh Torah, Kings and Wars
The appointment of the king comes before the war with Amalek, as it says, “G-d has sent me to anoint you king…Now, go and smite Amalek” (I Samuel 15:1-3). The eradication of Amalek precedes the construction of the Temple, as it says, “and it was so, when the king was settled in his home, and G-d allowed him respite from his enemies all around. And the king said to Nathan, the Prophet, ‘I am living in a house of cedar…’” (II Samuel 7:1-2). Now, since the appointment of a king is a Commandment, why did G-d not want (a king) when the people asked Samuel for one? Because their request was merely due to resentment, and not for the purpose of fulfilling a Commandment. They had rejected Samuel the Prophet, as it says, “as they have forsaken Me…so do they also with you” (I Samuel 8:7).
Shulchan Arukh, Orach Chayim
On the second Sabbath we take out two [Torah] scrolls — in one [the Reader] reads the weekly portion, and in the second he reads "Remember what Amalek did to you..." [Deuteronomy 25:17–19], and the haftarah is "I took account of what Amalek did to you..." [I Samuel 15:1–34].