Deuteronomy 14:22-29
The Offering of Tribute
14:22 You must be certain to tithe all the produce of your seed that comes from the field year after year.
14:23 In the presence of the Lord your God you must eat from the tithe of your grain, your new wine, your olive oil, and the firstborn of your herds and flocks in the place he chooses to locate his name, so that you may learn to revere the Lord your God always.
14:24 When he blesses you, if the place where he chooses to locate his name is distant,
14:25 you may convert the tithe into money, secure the money, and travel to the place the Lord your God chooses for himself.
14:26 Then you may spend the money however you wish for cattle, sheep, wine, beer, or whatever you desire. You and your household may eat there in the presence of the Lord your God and enjoy it.
14:27 As for the Levites in your villages, you must not ignore them, for they have no allotment or inheritance along with you.
14:28 At the end of every three years you must bring all the tithe of your produce, in that very year, and you must store it up in your villages.
14:29 Then the Levites (because they have no allotment or inheritance with you), the resident foreigners, the orphans, and the widows of your villages may come and eat their fill so that the Lord your God may bless you in all the work you do.