14. These are the names of the children born to him in Jerusalem: Shammua, Shobab, Nathan, Solomon,
15. Ibhar, Elishua, Nepheg, Japhia,
16. Elishama, Eliada, and Eliphelet.
17. When the Philistines heard that they had anointed David king over Israel, all of the Philistines went up to search for David, but David heard about this and went down to the stronghold.
18. Now the Philistines had come and were spread out in the Valley of Rephaim.
19. So David asked the Lord, “Shall I go up against the Philistines? Will You give them into my hand?”The Lord said to David, “Go up, because I will certainly give them into your hand.”
20. So David came to Baal Perazim, and David defeated them there. He said, “The Lord has breached my enemies before me like bursting tides.” Therefore, he named that place Baal Perazim.
21. The Philistines abandoned their idols there, and David and his men carried them away.
22. Once again, the Philistines went up and spread out in the Valley of Rephaim.
23. When David inquired of the Lord, He said, “You shall not go up. Circle around behind them and come against them opposite the trees.