Deuteronomy 16:11

16:11 You shall rejoice before him – you, your son, your daughter, your male and female slaves, the Levites in your villages, the resident foreigners, the orphans, and the widows among you – in the place where the Lord chooses to locate his name.

Deuteronomy 17:2

17:2 Suppose a man or woman is discovered among you – in one of your villages that the Lord your God is giving you – who sins before the Lord your God and breaks his covenant