David prayed to the Lord again and got this answer: “Don’t go up the valley. Go around them to the other side of their army. Attack them from the other side of the balsam trees.
David prayed to God again, and God answered his prayer. God said, “David, don’t follow the Philistines up the hill when you attack. Instead, go around them and hide on the other side of the balsam trees.
You will do to Ai and its king the same thing you did to Jericho and its king. Only this time you can take all the wealth and animals and keep it for yourselves. You will share the wealth with your people. Now, tell some of your soldiers to hide behind the city.”
That was not the first time I prayed to God for David. Not at all! Don’t blame me or any of my relatives. We are your servants. I know nothing about what is happening.”
David asked the Lord, saying, “Should I go up to fight against the Philistines? Will you help me defeat them?” The Lord answered, “Yes, I certainly will help you defeat the Philistines.”
Later David asked the Lord for advice. David said, “Should I take control of any of the cities of Judah?” The Lord said to David, “Yes.” David asked, “Where should I go?” The Lord answered, “To Hebron.”