Joab son of Zeruiah realized that the king's mind was on Absalom.