Godsway 66, Book 10 - 2 Samuel
When he does, David captures the city of Jerusalem and makes it his capitol. He also brings the Ark of the Covenant to Jerusalem, establishing it as the city of God. This act has had consequences for centuries, even to the present-day controversies in the Middle East.
Even after he consolidates power, David faces many threats. The Philistines continue to attack on the edges of the kingdom and threaten the Hebrews. And David is not always a completely ethical leader, which has implications from God and from others, including his son Absalom, who leads a revolt that captures Jerusalem and almost succeeds in defeating David and armies loyal to him.
Through it all, even when God punishes him, David never completely loses God's favor. So David has a long reign as king, and he even dreams of building God a temple -- a task that will be completed by his son and successor, Solomon.