11 Rejoice before the Lord your God-you and your sons and your daughters, your male and female slaves, the Levites resident in your towns, as well as the strangers, the orphans, and the widows who are among you-at the place that the Lord your God will choose as a dwelling for his name. 12 Remember that you were a slave in Egypt, and diligently observe these statutes. 13 You shall keep the festival of booths for seven days, when you have gathered in the produce from your threshing floor and your wine press. 14 Rejoice during your festival, you and your sons and your daughters, your male and female slaves, as well as the Levites, the strangers, the orphans, and the widows resident in your towns. 15 Seven days you shall keep the festival to the Lord your God at the place that the Lord will choose; for the Lord your God will bless you in all your produce and in all your undertakings, and you shall surely celebrate. 16 Three times a year all your males shall appear before the Lord your God at the place that he will choose: at the festival of unleavened bread, at the festival of weeks, and at the festival of booths. They shall not appear before the Lord empty-handed;

Matthew Henry's Commentary on Deuteronomy 16:11-16

Commentary on Deuteronomy 16:1-17

(Read Deuteronomy 16:1-17)

The laws for the three yearly feasts are here repeated; that of the Passover, that of the Pentecost, that of Tabernacles; and the general law concerning the people's attendance. Never should a believer forget his low estate of guilt and misery, his deliverance, and the price it cost the Redeemer; that gratitude and joy in the Lord may be mingled with sorrow for sin, and patience under the tribulations in his way to the kingdom of heaven. They must rejoice in their receivings from God, and in their returns of service and sacrifice to him; our duty must be our delight, as well as our enjoyment. If those who were under the law must rejoice before God, much more we that are under the grace of the gospel; which makes it our duty to rejoice evermore, to rejoice in the Lord always. When we rejoice in God ourselves, we should do what we can to assist others also to rejoice in him, by comforting the mourners, and supplying those who are in want. All who make God their joy, may rejoice in hope, for He is faithful that has promised.