This psalm reminds me of that maddening call and response I hear all the time in church: “God is good … all the time. / And all the time … God is good.” It is maddening because it is not true.
This psalm is 21 verses of how mighty, glorious, splendid, majestic, wondrous, awesome, great, good, righteous, gracious, compassionate, patient, merciful and powerful YHWH seemed to be.
Back to the call and response, the bit I question is the “all the time” part. As I’ve said before, the cosmos is both good and bad all the time — what’s good for me may be bad for you. That’s true.
So, while YHWH might have been all those adjectives to the Old Hebrews including kings David and Solomon, He was just the opposite to any innocents who died at the hands of His Israelites.