Joshua made war a long time with all those kings.
What we labour under the Divine blessing to acquire we are careful to retain; but what comes lightly generally goes lightly. God obliged them to put forth their own strength in this work, and only blessed and prospered them while they were workers together with him. Joshua 13:6.