Fighting and Military Career
King David's first battle listed in the Bible occurs when he is but a youth. He slays Goliath the Philistine Giant with nothing more than a slingshot, a few stones, and a simple but profound faith in God (1Samuel 17:26).
After King David becomes a little older, he conducts a campaign against the Philistines and defeats them.
8. And there was war again. And David went out and fought with the Philistines, and killed them with a great slaughter. And they fled from him. (1Samuel 19:8)
Another battle occurs when he invades the land populated by the Geshurites, Gezrites, and the Amalekites. This area lies south of the city of Ziklag. His attack is successful although the battle itself is quite brutal and bloody (1Samuel 27:8 - 9).
One day the city of Ziklag is attacked by the Amalekites. It is burnt to the ground and all the women of the city become prisoners. Among the female captives are two of David's wives, Ahinoam and Abigail. He asks God, through the High Priest's ephod, if he would be victorious against those who raided the city. After receiving an affirmative answer, he collects 600 men and goes after the Amalekites. With the help of a young Egyptian slave, he finds out where those who attacked Ziklag are locating. The Amalekites are soon attacked and routed. All the people who were taken as prisoners are freed and a great amount of spoil comes to Israel. In fact, so much was taken from the Amalekites that not only Israel's fighting men but also at least thirteen cities shared in the spoils of war!
19. And nothing was lacking to them, from the small to the great, even to sons and daughters, and from the spoil, even to all that they had taken to themselves (1Samuel 30:19)
David rallies all Israel to attack the city of Jebus. He takes the city, renames it Jerusalem, and makes it his capital (1Chronicles 11:5).
The Philistines, upon finding out that David is King of Israel, attack him. The Lord, however, is behind him and gives him a decisive victory over his enemies (2Samuel 5:17 - 21). Sometime after, however, the Philistines fight him again, but this time with the Moabites, Zobah, Syria, and Edom. They are all conquered with some of them becoming servants (2Samuel 8:2, 6, 14).
One of David's battles is the result of a foreign ruler totally misunderstanding one of his actions and causing a war that did not need to happen. It all started when the Ammonite ruler Nahash died. David, who was his friend, sends messengers to Ammon to convey his condolences. King Nahash's son Hanun, who now is the ruler of the Ammonites, receives the messengers. Ammonite leaders, however, convince Hanun that the messengers are really SPIES sent to explore the area so that an attack can be launched. Hanun mistreats the emissaries and send them back. Soon afterwards, the Ammonites realize the mistake they made and that they have unnecessarily made themselves enemies of Israel. They hire 20,000 extra soldiers to help protect themselves. This, however, is to no avail as Israel attacks the Ammonite capital and is victorious against both the Ammonites and their Syrian allies (2Samuel 10).
Amazingly, King David wars with and defeats in battle the Philistines four more times (2Samuel 21:15, 18, 19, 20).