2 Samuel 12:1-7 ESV
And the LORD sent Nathan to David. He came to him and said to him, “There were two men in a certain city, the one rich and the other poor. The rich man had very many flocks and herds, but the poor man had nothing but one little ewe lamb, which he had bought. And he brought it up, and it grew up with him and with his children. It used to eat of his morsel and drink from his cup and lie in his arms, and it was like a daughter to him. Now there came a traveler to the rich man, and he was unwilling to take one of his own flock or herd to prepare for the guest who had come to him, but he took the poor man’s lamb and prepared it for the man who had come to him.” Then David’s anger was greatly kindled against the man, and he said to Nathan, “As the LORD lives, the man who has done this deserves to die, and he shall restore the lamb fourfold, because he did this thing, and because he had no pity.”
Nathan said to David, “You are the man! Thus says the LORD, the God of Israel, ‘I anointed you king over Israel, and I delivered you out of the hand of Saul.
ESV: English Standard Version 2016