During the time David was king, there was a shortage of food that lasted for three years. So David prayed to the Lord. The Lord answered, "Saul and his family of murderers are the reason for this shortage, because he killed the Gibeonites."
(Now the Gibeonites were not Israelites; they were a group of Amorites who were left alive. The Israelites had promised not to hurt the Gibeonites, but Saul had tried to kill them, because he was eager to help the people of Israel and Judah.) King David called the Gibeonites together and spoke to them.
He asked, "What can I do for you? How can I make up for the harm done so you can bless the Lord's people?"
The Gibeonites said to David, "We cannot demand silver or gold from Saul or his family. And we don't have the right to kill anyone in Israel." Then David asked, "What do you want me to do for you?"
The Gibeonites said, "Saul made plans against us and tried to destroy all our people who are left in the land of Israel.
So bring seven of his sons to us. Then we will kill them and hang them on stakes in the presence of the Lord at Gibeah, the hometown of Saul, the Lord's chosen king." The king said, "I will give them to you."
But the king protected Mephibosheth, the son of Jonathan, the son of Saul, because of the promise he had made to Jonathan in the Lord's name.
The king did take Armoni and Mephibosheth, sons of Rizpah and Saul. (Rizpah was the daughter of Aiah.) And the king took the five sons of Saul's daughter Merab. (Adriel son of Barzillai the Meholathite was the father of Merab's five sons.)
David gave these seven sons to the Gibeonites. Then the Gibeonites killed them and hung them on stakes on a hill in the presence of the Lord. All seven sons died together. They were put to death during the first days of the harvest season at the beginning of barley harvest.
Aiah's daughter Rizpah took the rough cloth that was worn to show sadness and put it on a rock for herself. She stayed there from the beginning of the harvest until the rain fell on her sons' bodies. During the day she did not let the birds of the sky touch her sons' bodies, and during the night she did not let the wild animals touch them.
People told David what Aiah's daughter Rizpah, Saul's slave woman, was doing.
Then David took the bones of Saul and Jonathan from the men of Jabesh Gilead. (The Philistines had hung the bodies of Saul and Jonathan in the public square of Beth Shan after they had killed Saul at Gilboa. Later the men of Jabesh Gilead had secretly taken them from there.)
David brought the bones of Saul and his son Jonathan from Gilead. Then the people gathered the bodies of Saul's seven sons who were hanged on stakes.
The people buried the bones of Saul and his son Jonathan at Zela in Benjamin in the tomb of Saul's father Kish. The people did everything the king commanded. Then God answered the prayers for the land.