Deuteronomy 9:4

9:4 Do not think to yourself after the Lord your God has driven them out before you, “Because of my own righteousness the Lord has brought me here to possess this land.” It is because of the wickedness of these nations that the Lord is driving them out ahead of you.

Deuteronomy 10:8

10:8 At that time the Lord set apart the tribe of Levi to carry the ark of the Lord’s covenant, to stand before the Lord to serve him, and to formulate blessings in his name, as they do to this very day.