Deut 16:13-17

You shall celebrate the feast of Booths for seven days, when you have gathered in the produce from your threshing floor and wine press. You shall rejoice at your feast, together with your son and daughter, your male and female slave, and also the Levite, the resident alien, the orphan and the widow within your gates. For seven days you shall celebrate this feast for the LORD, your God, in the place which the LORD will choose; since the LORD, your God, has blessed you in all your crops and in all your undertakings, you will be full of joy.

Three times a year, then, all your males shall appear before the LORD, your God, in the place which he will choose: at the feast of Unleavened Bread, at the feast of Weeks, and at the feast of Booths. They shall not appear before the LORD empty-handed, but each with his own gift, in proportion to the blessing which the LORD, your God, has given to you.