27 That day Yehoshua made them hewers of wood and drawers of water—as they still are—for the community and for the mizbayach of Hashem, in the place that He would choose.
va-yi-t’-NAYM y’-ho-SHU-a ba-YOM ha-HU kho-t’-VAY ay-TZEEM v’-SHO-a-vay MA-yim la-ay-DAH ul-miz-BAKH a-do-NAI ad ha-YOM ha-ZEH el ha-ma-KOM a-SHER yiv-KHAR
כז וַיִּתְּנֵם יְהוֹשֻׁעַ בַּיּוֹם הַהוּא חֹטְבֵי עֵצִים וְשֹׁאֲבֵי מַיִם לָעֵדָה וּלְמִזְבַּח יְהֹוָה עַד־הַיּוֹם הַזֶּה אֶל־הַמָּקוֹם אֲשֶׁר יִבְחָר׃
9:27 That day Yehoshua made them hewers of wood and drawers of water
The Gibeonites trick Yehoshua into believing they are not Canaanites. Therefore, Yehoshua makes a treaty with them. Even after learning the truth, the Children of Israel do not violate their word. However, the Gibeonites are required to serve them and Hashem’s altar. The Metzudat David, a classic commentary on the books of the Prophets and Writings written in the late 17th and early 18th centuries, explains that this means they are to support the soldiers of Israel during war and to labor in the Mishkan in Shilo, and later in the Beit Hamikdash in Yerushalayim. Their service in the Beit Hamikdash would be important, as it would become a focal point for both Jews and non-Jews in their service of the one God.