So as Joab was attacking the city, he put Uriah in the place where he knew there were strong warriors.