It’s as if God is saying in verse 8 that he and we think very differently, whereas in verse 9 he is saying precisely how, namely, his “thoughts” (the Hebrew word doesn’t merely mean “passing mental reflection” but “plans,” “devices,” “intentions,” “purposes”) are higher, grander, enveloped in a compassion for which we fallen sinners have no natural category.