This rhetorical question can be stated positively. Alternate translation: "Something bad would have happened to me" (See: [[rc://en/ta/man/translate/figs-rquestion]])
The abstract noun "goodness" can be stated as an adjective. Alternate translation: "the good things that Yahweh does" (See: [[rc://en/ta/man/translate/figs-abstractnouns]])