Here "gate" represents the whole city Alternate translation: "any Levite who lives inside your city" (See: [[rc://en/ta/man/translate/figs-synecdoche]])
Here "put your hand to" represents the whole person and work that he has done. Alternate translation: "rejoice about all the work you have done" (See: [[rc://en/ta/man/translate/figs-synecdoche]])