So Joshua blessed them, and sent them away
Dismissed them from his presence with a blessing, in order to go to their own country; this he did by wishing them well, praying to God for a blessing on them, their persons, and families, who had been so useful in assisting their brethren to get possession of the land of Canaan. Some think this blessing includes gifts and presents he bestowed on them:
and they went unto their tents;
here the word means their military tents in the camp of Israel, to which they returned, in order to take with them their goods, their substance and riches, their part of the spoil of the enemy, which of right belonged to them.