Exod 23:17

17Three times in the year all your males shall appear before the Lord GOD.