Three times in the year shall all your males appear before the Lord GOD.
God commanded the land to rest every seventh year to show Israel both His abundance and their dependence on Him alone. This was no mercy to the soil but a test of their obedience in the very matter that touches their purse, whether they would trust His Providence as surely as the sixth day's manna served for two days' meat.
AI summary
Commenting on Exodus 23:10-19
The first of the first fruits of thy land,.... Both of the barley and wheat harvest, and of the wine and oil; yea, Jarchi says, the seventh year was obliged to first fruits; and Josephus (d) relates, that the Jews were so tenacious of this law, that even in the famine in the time of Claudius Caesar, the first fruits were brought to the temple...
All thy males - Old men, sick men, male idiots, and male children under thirteen years of age, excepted; for so the Jewish doctors understand this command.