So when Joab was besieging the city, he assigned Uriah opposite where he knew the enemy's most valiant men were.