Now there was a famine in the days of David for three years, year after year. And David sought the face of the LORD. And the LORD said, "There is bloodguilt on Saul and on his house, because he put the Gibeonites to death." So the king called the Gibeonites and spoke to them. Now the Gibeonites were not of the people of Israel but of the remnant of the Amorites. Although the people of Israel had sworn to spare them, Saul had sought to strike them down in his zeal for the people of Israel and Judah. And David said to the Gibeonites, "What shall I do for you? And how shall I make atonement, that you may bless the heritage of the LORD?" The Gibeonites said to him, "It is not a matter of silver or gold between us and Saul or his house; neither is it for us to put any man to death in Israel." And he said, "What do you say that I shall do for you?" They said to the king, "The man who consumed us and planned to destroy us, so that we should have no place in all the territory of Israel, let seven of his sons be given to us, so that we may hang them before the LORD at Gibeah of Saul, the chosen of the LORD." And the king said, "I will give them."
But the king spared Mephibosheth, the son of Saul's son Jonathan, because of the oath of the LORD that was between them, between David and Jonathan the son of Saul. The king took the two sons of Rizpah the daughter of Aiah, whom she bore to Saul, Armoni and Mephibosheth; and the five sons of Merab the daughter of Saul, whom she bore to Adriel the son of Barzillai the Meholathite; and he gave them into the hands of the Gibeonites, and they hanged them on the mountain before the LORD, and the seven of them perished together. They were put to death in the first days of harvest, at the beginning of barley harvest.
Then Rizpah the daughter of Aiah took sackcloth and spread it for herself on the rock, from the beginning of harvest until rain fell upon them from the heavens. And she did not allow the birds of the air to come upon them by day, or the beasts of the field by night. When David was told what Rizpah the daughter of Aiah, the concubine of Saul, had done, David went and took the bones of Saul and the bones of his son Jonathan from the men of Jabesh-gilead, who had stolen them from the public square of Beth-shan, where the Philistines had hanged them, on the day the Philistines killed Saul on Gilboa. And he brought up from there the bones of Saul and the bones of his son Jonathan; and they gathered the bones of those who were hanged. And they buried the bones of Saul and his son Jonathan in the land of Benjamin in Zela, in the tomb of Kish his father. And they did all that the king commanded. And after that God responded to the plea for the land.