In 2 Samuel 12, King David is visited by Nathan the prophet, who tells him about a wealthy man with many sheep who takes the only lamb of a poor man to feed a traveler. David, always one to make the right call, is outraged and demands that the wealthy man be punished. Nathan then reveals that the wealthy man is David himself, and God will punish him for his adultery with Bathsheba and the murder of her husband. David repents of his sins and is forgiven, but God still punishes him with the death of his newborn son. So, in conclusion, don't be a David, kids.