וְאֶתְכֶם֙ לָקַ֣ח יְהוָ֔ה וַיּוֹצִ֥א אֶתְכֶ֛ם מִכּ֥וּר הַבַּרְזֶ֖ל מִמִּצְרָ֑יִם לִהְי֥וֹת ל֛וֹ לְעַ֥ם נַחֲלָ֖ה כַּיּ֥וֹם הַזֶּֽה׃
여호와께서 너희를 택하시고 너희를 쇠풀무 곧 애굽에서 인도하여 내사 자기 기업의 백성을 삼으신 것이 오늘과 같아도
Shenei Luchot HaBerit
There is little point in looking for moral ethical messages in this portion when the entire portion is literally filled with such messages. In fact the same can be said of most of the Book of Deuteronomy. Moses' principal purpose in writing this book called משנה תורה, review of the Torah, was to ensure that the new generation would relive in their minds what the previous generation had actually experienced, and that they would draw the appropriate moral conclusions from all this and engrave it on their collective memories.