In the spring of the year, when kings normally go out to war, Joab led the Israelite army in successful attacks against the land of the Ammonites. In the process he laid siege to the city of Rabbah. However, David stayed behind in Jerusalem.