Numbers 26:53-56

26:53 “To these the land must be divided as an inheritance according to the number of the names. 26:54 To a larger group you will give a larger inheritance, and to a smaller group you will give a smaller inheritance. To each one its inheritance must be given according to the number of people in it. 26:55 The land must be divided by lot; and they will inherit in accordance with the names of their ancestral tribes. 26:56 Their inheritance must be apportioned by lot among the larger and smaller groups.

Deuteronomy 32:8

32: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.