Apart from being a priest in the Temple, did Zachariah (John the Baptist's father) have a job? Do we have a teaching that identifies Zachariah as a carpenter? I came across this weird teaching in a traditional Muslim source and was baffled. The word Zakariyya in the Ayah has been recited with elongation and also shortened. Both recitations are well-known. He was a great Prophet from the Prophets of the Children of Israel. In Sahih Al-Bukhari, it is recorded ﴿that the Prophet said about Zakariyya﴾ that He was a carpenter who used to eat from what he earned with his own hand through carpentry.
Al-Bukhari is probably confusing/conflating Zacharias with Joseph (I wonder if there's anything about him in the Muslim tradition).
According to the Torah, Priests and Levites had to be supported by the rest of the tribes, because they didn't get any land in Israel.
Hence the rule qui servit altari, de altare vivat
("who serves the altar, should live from the altar") in Latin Canon Law.