וַיַּכֵּ֨ם יְהוֹשֻׁ֤עַ אַֽחֲרֵי־כֵן֙ וַיְמִיתֵ֔ם וַיִּתְלֵ֕ם עַ֖ל חֲמִשָּׁ֣ה עֵצִ֑ים וַיִּֽהְי֛וּ תְּלוּיִ֥ם עַל־הָעֵצִ֖ים עַד־הָעָֽרֶב׃
And afterward Joshua smote them, and put them to death, and hanged them on five trees; and they were hanging upon the trees until the evening.
Read halakhic rulings (Jewish law) on Joshua 10:26: and classical halakhic sources.