כִּֽי־תֵצֵ֥א לַמִּלְחָמָ֖ה עַל־אֹיְבֶ֑יךָ וּנְתָנ֞וֹ יְהוָ֧ה אֱלֹהֶ֛יךָ בְּיָדֶ֖ךָ וְשָׁבִ֥יתָ שִׁבְיֽוֹ׃
Kapag ikaw ay lumabas upang makipagdigma laban sa iyong mga kaaway, at ibinigay sila ng Walang-Hanggan na iyong Diyos sa iyong kamay, at nabihag mo ang kanilang mga bihag,
Ibn Ezra
The correct interpretation of These are the words is that the commandments written in the upcoming parashiyyot of Re eh , Shofeṭim , Ki Teṣeh , and Ki Tavo had already been given to the Israelites when they were in the wilderness. In other words, the phrase that Moshe spoke is modified by the entire remainder of the verse, as if Scripture had repeated it, saying: “These are the words that Moshe spoke to all Israel, which Moshe had spoken in the wilderness, and in the desert across the Red Sea…” starting from the day that they left Sinai.
Siftei Chakhamim
Scripture positioned going to war, ... to teach, etc. Rashi is answering the question: Scripture should have juxtapositioned over here the judiciary laws of parshas Ki Seitzei (below 21:22), “If a man is guilty of a capital offense, etc.,” and the other capital offenses mentioned there. He answers, “To teach, etc.”
Siftei Chakhamim
Scripture positioned going to war, ... to teach, etc. Rashi is answering the question: Scripture should have juxtapositioned over here the judiciary laws of parshas Ki Seitzei (below 21:22), “If a man is guilty of a capital offense, etc.,” and the other capital offenses mentioned there. He answers, “To teach, etc.”