David heard that the Ammonites were getting ready for war. So he sent Joab and the whole army of Israel to fight the Ammonites.