Hebrew Bible

Deuteronomy 32:8

6 Is this how you repay the Lord, you foolish, unwise people? Is he not your father, your Creator? He has made you and established you. 7 Remember the ancient days; bear in mind the years of past generations. Ask your father and he will inform you, your elders, and they will tell you. 8 When the Most High gave the nations their inheritance, when he divided up humankind, he set the boundaries of the peoples, according to the number of the heavenly assembly. 9 For the Lord’s allotment is his people, Jacob is his special possession. 10 The Lord found him in a desolate land, in an empty wasteland where animals howl. He continually guarded him and taught him; he continually protected him like the pupil of his eye.

Date: 6th Century B.C.E. (Final composition)
* Dates are based on scholarly estimates
Rabbinic

Or HaChaim 32

Commentary

בהנחל עליון גוים, 'When the Supreme One gave nations their inheritance, etc.' This is a reference to the time when G'd assigned 'guardian angels' for the various Gentile nations to represent them at the celestial court. This is an allusion to the fact that G'd considered these nations as inferior so that He did not want to relate to them directly but only by means of an intermediary.

Date: 1718 C.E.
* Dates are based on scholarly estimates