Augustine of Hippo : And the Amorite remained in Elom and in Salamin; and the hand of Ephraim fell on them and they were made tributary to him. This was already done against the Lord's command and Joshua still lived. But he was no longer his boss in those battles because of his old age. That is why it is said that the Lord hardened the hearts of those who had made a common conspiracy to go to war against Joshua (Cf Joshua 11,20) so that this mercy would not be granted, even against the command of God (Cf Joshua 21,20), if they had not been defeated , and, being already old Joshua or having died, they will remain to be overcome by the children of Israel, who could forgive their lives against the Lord's command, something that Joshua would not do. — QUESTIONS ON JOSHUA, Q. 20 (tr. J. Litteral, draft)