2 Samuel (Author Compiled by Isaiah from records of Samuel, David, Nathan, and Gad.)
5:19And David inquired of Jehovah, saying, Shall I go up against the Philistines? wilt thou give them into my hand? And Jehovah said to David, Go up; for I will certainly give the Philistines into thy hand.
Original from The Bible Foundation - bf.org. They claim public domain status for their original text.