During the reign of David, there was a famine for three successive years; so David sought the face of the LORD. The LORD said, "It is on account of Saul and his blood-stained house; it is because he put the Gibeonites to death."
NIV
THERE WAS a three-year famine in the days of David, year after year; and David inquired of the Lord. The Lord replied, It is on account of Saul and his bloody house, for he put to death the Gibeonites.
AMP
Then there was a famine in the days of David three years, year after year; and David enquired of the LORD. And the LORD answered, It is for Saul, and for his bloody house, because he slew the Gibeonites.
KJV