Deuteronomy 14:22-29 ESV
“You shall tithe all the yield of your seed that comes from the field year by year. And before the LORD your God, in the place that he will choose, to make his name dwell there, you shall eat the tithe of your grain, of your wine, and of your oil, and the firstborn of your herd and flock, that you may learn to fear the LORD your God always. And if the way is too long for you, so that you are not able to carry the tithe, when the LORD your God blesses you, because the place is too far from you, which the LORD your God chooses, to set his name there, then you shall turn it into money and bind up the money in your hand and go to the place that the LORD your God chooses and spend the money for whatever you desire—oxen or sheep or wine or strong drink, whatever your appetite craves. And you shall eat there before the LORD your God and rejoice, you and your household. And you shall not neglect the Levite who is within your towns, for he has no portion or inheritance with you.
“At the end of every three years you shall bring out all the tithe of your produce in the same year and lay it up within your towns. And the Levite, because he has no portion or inheritance with you, and the sojourner, the fatherless, and the widow, who are within your towns, shall come and eat and be filled, that the LORD your God may bless you in all the work of your hands that you do.
ESV: English Standard Version 2016