Deuteronomy 16:9-17 NIV
Count off seven weeks from the time you begin to put the sickle to the standing grain. Then celebrate the Festival of Weeks to the LORD your God by giving a freewill offering in proportion to the blessings the LORD your God has given you. And rejoice before the LORD your God at the place he will choose as a dwelling for his Name—you, your sons and daughters, your male and female servants, the Levites in your towns, and the foreigners, the fatherless and the widows living among you. Remember that you were slaves in Egypt, and follow carefully these decrees.
Celebrate the Festival of Tabernacles for seven days after you have gathered the produce of your threshing floor and your winepress. Be joyful at your festival—you, your sons and daughters, your male and female servants, and the Levites, the foreigners, the fatherless and the widows who live in your towns. For seven days celebrate the festival to the LORD your God at the place the LORD will choose. For the LORD your God will bless you in all your harvest and in all the work of your hands, and your joy will be complete.
Three times a year all your men must appear before the LORD your God at the place he will choose: at the Festival of Unleavened Bread, the Festival of Weeks and the Festival of Tabernacles. No one should appear before the LORD empty-handed: Each of you must bring a gift in proportion to the way the LORD your God has blessed you.
NIV: New International Version