David takes the throne but he does so with too many wives, thus breaking God's law in Deuteronomy because he was not preparing for the future.