The word "bitter" is a metaphor for the desire to rebel. The word "spirit" is a synecdoche for the person. Alternate translation: "all the people were ready to rebel against David" or "all the people were very unhappy" (See: [[rc://en/ta/man/translate/figs-synecdoche]])