2 Samuel 21:9

21:9 He turned them over to the Gibeonites, and they executed them on a hill before the Lord. The seven of them died together; they were put to death during harvest time – during the first days of the beginning of the barley harvest.

2 Samuel 24:13

24:13 Gad went to David and told him, “Shall seven years of famine come upon your land? Or shall you flee for three months from your enemy with him in hot pursuit? Or shall there be three days of plague in your land? Now decide what I should tell the one who sent me.”