NET
22 Because God fought for them, they killed many of the enemy. They dispossessed the Hagrites and lived in their land until the exile.
Darby
22 For there fell down many slain, for the war was of God. And they dwelt in their stead until the captivity.
KJV
22 For there fell down many slain, because the war [was] of God. And they dwelt in their steads until the captivity.