2 Samuel 21:1

During the reign of David there was a famine for three successive years, and David sought the face of the Lord. And the Lord said, “It is because of the blood shed by Saul and his family, because he killed the Gibeonites.”
BSB · Berean Standard Bible
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.

Note enquired…: Heb. sought the face, etc

KJV · King James Version
There was a famine in the days of David for three years, year after year; and David sought the face of the Lord. The Lord said, “It is for Saul, and for his bloody house, because he put the Gibeonites to death.”
WEB · World English Bible
And there was a famine in the days of David three years, year after year; and David sought the face of Jehovah. And Jehovah said, It is for Saul, and for his bloody house, because he put to death the Gibeonites.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

An
A.M. 2986. B.C. 1018. Ex. Ex. Is. 473. a famine.
Genesis 12:10; Genesis 26:1; Genesis 41:57; Genesis 42:1; Genesis 43:1; Leviticus 26:19, 20, 26; 1 Kings 17:1; 1 Kings 18:2; 2 Kings 6:25; 2 Kings 8:1; Jeremiah 14:1–18
enquired
Heb. sought the face, etc. of the Lord.
2 Samuel 5:19, 23; Numbers 27:21; 1 Samuel 23:2, 4, 11; Job 5:8–10; Job 10:2; Psalm 50:15; Psalm 91:15
It is
Joshua 7:1, 11, 12
Saul
1 Samuel 22:17–19