The Deuteronomistic account, the authors hold, is a cautionary epic joining elements from various regions to serve seventh-century Judean interests.
After the Babylonian exile, it was refashioned to meet new (though in many ways similar) conditions, resulting in the accounts we have today.