God shows us that while David is the chosen king, he is vulnerable to sin with tragic consequences to those under his care. Our perfect King Jesus, was infallible and His perfection brings saving consequences to those He shepherds.
Wise believers consider themselves less than others, pursuing peace and trusting in the fruits of Godly living. such wisdom is produced in and through God who gives wisdom to His children.