12 all the kingdom of Og in Bashan, who reigned in Ashtaroth and in Edrei (the same was left of the remnant of the Rephaim); for Moses attacked these, and drove them out.
*Minor differences ignored. Grouped by changes, with first version listed as example.
All the kingdom of Og in Bashan, who reigned in Ashtaroth and in Edrei,.... See Gill on Joshua 12:4,
who remained of the remnant of the giants; was descended from those that remained in Ashtaroth, after the rest were cut off by Chedorlaomer, Genesis 14:5; called there the Rephaim, as here:
for these did Moses smite, and cast them out: that is, not only the giants, but the inhabitants of the above kingdom, the greatest part of them; for the Geshurites and the Maachathites are excepted in Joshua 13:13.
These did Moses smite - Not all now mentioned, but Sihon and Og, and their people, and the generality of them.
*More commentary available at chapter level.