In second Samual, King David is depicted as a true, but imperfect, example of an ideal king. I think the main point in this is that; King David was a good king despite his sinful nature, and we can learn from his actions both good and bad.
King Davidâ€™s decisions showed he was a decisive and an effective king. He captured Jerusalem from the Jebusites and took it for his own home. He also was a great conquer in battle. Despite his imperfections, the lord still defeated his enemies and because of that the nation prospered.
One of his great displays of devotion to God would be when he brought the ark from the house of Abinadab to Jerusalem. This showed the people of Jerusalem his devotion to God, and he openly displayed his devotion by bringing it openly. I think most of us could learn from that, to be more open in our worship and show our devotion publicly to God. .
I believe Davidâ€™s heart was in the right place and God knew that, that is why he blessed him in his reign. David wanted to build a house for the Lord, but instead the lord built a house for him. God made a covenant with David in which God promised to make David a great and everlasting dynasty. How many of us fall short of Godâ€™s glory, but he still takes our life and molds it into something great. David showed great devotion to the lord, but fell short of his glory. The lord saw he was whole-heartedly devoted to him and therefore he made a everlasting covenant with David. I believe it was Davidâ€™s â€œgood intentionsâ€ that God saw, not his sinful nature, because God doesnâ€™t expect perfection, just devotion. We can learn from that because we have a sinful nature, but still God cares for us.
I think it is important to remember David was a human, granted he had responsibilities as a King, but he shouldnâ€™t have been expected to be perfect. Like all humans he had weaknesses, which got him into trouble.