Jehovah must have viewed this intense remorse in David’s heart as an evidence of genuine repentance and decided that there was a basis for showing mercy to the wrongdoers.
יתר על כן, דוד עצמו היה איש רחמן ויהוה מרחם על הרחמנים (‏ שמואל א ’.