The troops came out of the city. They fought against Joab. Some of the men in David's army were killed. Uriah, the Hittite, also died.