In the book of 2 Samuel, chapter 19, David mourns the death of his son.
But his men witness this, and Joab tells him that his men feel unworthy of David's love and speculate David would rather they die than his son.
King David then goes to many, forgiving them and blessing them as he makes his way back to Jerusalem.