Joshua 12:4

And the coast of Og king of Bashan, which was of the remnant of the giants, that dwelt at Ashtaroth and at Edrei,

Joshua 12:4 stands in the chapter's list of the kings and places that had been overcome in battle before the division of the land. It belongs to the record of the dividing and settling of the Promised Land among the tribes. That division took place about five years after the crossing of the Jordan, as reckoned from Caleb's statements about his age. The surrounding section shows Israel's lack of faith and slowness. The section closes with the assurance that God fulfilled every good thing He had promised.