Those words are part of Moses ’ parting speech to the nation of Israel gathered on the plains of Moab in the year 1473 B.C.E. The nation was about to cross the river Jordan to take possession of the Promised Land.
هٰذِهِ ٱلْآيَةُ هِيَ جُزْءٌ مِنَ ٱلْكَلِمَاتِ ٱلْخِتَامِيَّةِ ٱلَّتِي خَاطَبَ بِهَا مُوسَى أُمَّةَ إِسْرَائِيلَ فِي سُهُوبِ مُوآبَ سَنَةَ ١٤٧٣ ق‌م .‏