14 David inquired again of God; and God said to him, “You shall not go up after them. Turn away from them, and come on them opposite the mulberry trees.
1 Chronicles 14:14 Cross References - WEB
Joshua 8:2-7
2 You shall do to Ai and her king as you did to Jericho and her king, except you shall take its goods and its livestock for yourselves. Set an ambush for the city behind it.”
3 So Joshua arose, with all the warriors, to go up to Ai. Joshua chose thirty thousand men, the mighty men of valor, and sent them out by night.
4 He commanded them, saying, “Behold, you shall lie in ambush against the city, behind the city. Don’t go very far from the city, but all of you be ready.
5 I and all the people who are with me will approach the city. It shall happen, when they come out against us, as at the first, that we will flee before them.
6 They will come out after us until we have drawn them away from the city; for they will say, ‘They flee before us, like the first time.’ So we will flee before them,
7 and you shall rise up from the ambush, and take possession of the city; for Yahweh your God will deliver it into your hand.
1 Chronicles 14:10
10 David inquired of God, saying, “Shall I go up against the Philistines? Will you deliver them into my hand?” Yahweh said to him, “Go up; for I will deliver them into your hand.”
Psalms 27:4
4 One thing I have asked of Yahweh, that I will seek after: that I may dwell in Yahweh’s house all the days of my life, to see Yahweh’s beauty, and to inquire in his temple.