# the second day of the month
"the second day of the new moon festival"
# he was grieved over David
"he was grieving over David"
# had dishonored him
Here "him" refers to David.