So while Joab was besieging the city, he assigned Uriah to a place where he knew the defenders were strong.