all the people were bitter in spirit
"all the people were ready to rebel against David" or "all the people were very unhappy"
David strengthened himself in Yahweh, his God
"David took courage because he knew Yahweh his God would help him" or "Yahweh his God made David strong."