David learned his lesson
Earlier in the book David attempted to bring the ark to Jerusalem and it said that he did it w/ a "new cart." The result of those actions was that someone died. Because they did not properly move the ark the way that the Lord had instructed, careless actions cost a man his life.
David, having learned from that episode discovered the proper way that the ark should be moved and started to implement the way that God had ordained it.
I think this shows David's humility and why he is "a man after God's own heart." David may not have done everything perfectly, but whenever he was confronted with his sin we find him going to great lengths to make it right.
Created almost 2 years ago