While David was king, there were three years in a row when the nation of Israel could not grow enough food. So David asked the LORD for help, and the LORD answered, "Saul and his family are guilty of murder, because he had the Gibeonites killed."
One day his daughters went to the sacred tent, where they met with Moses, Eleazar, and some other leaders of Israel, as well as a large crowd of Israelites. The young women said:
But he has promised that he and Joshua will lead you across the Jordan to attack the nations that live on the other side. The LORD will destroy those nations just as he destroyed Sihon and Og, those two Amorite kings. Just remember--whenever you capture a place, kill everyone who lives there.
So they went to the place of worship at Bethel and asked God, "Which tribe should be the first to attack the people of Benjamin?" "Judah," the LORD answered.
and he said to the priest, "Abiathar, let's ask God what to do." Abiathar brought everything he needed to get answers from God, and he went over to David.