When the town's defenders came out and attacked Joab, some of David's men were killed, including Uriah the Hittite.