Putting it in my own words, Edwards said that the infinite complexity of the divine mind is such that God has the capacity to look at the world through two lenses. He can look through a narrow lens or through a wide-angle lens.
When God looks at a painful or wicked event through his narrow lens, he sees the tragedy or the sin for what it is in itself and he is angered and grieved. “I do not delight in the death of anyone, says the Lord God” (Ezekiel 18:32).
But when God looks at a painful or wicked event through his wide-angle lens, he sees the tragedy or the sin in relation to everything leading up to it and everything flowing out from it. He sees it in all the connections and effects that form a pattern or mosaic stretching into eternity. This mosaic, with all its (good and evil) parts he does delight in (Psalm 115:3).
God’s emotional life is infinitely complex beyond our ability to fully comprehend.
For example, who can comprehend that the Lord hears in one moment of time the prayers of ten million Christians around the world, and sympathizes with each one personally and individually like a caring Father (as Hebrews 4:15 says he will), even though among those ten million prayers some are broken-hearted and some are bursting with joy? How can God weep with those who weep and rejoice with those who rejoice when they are both coming to him at the same time—in fact are always coming to him with no break at all?
Or who can comprehend that God is angry at the sin of the world every day (Psalm 7:11), and yet every day, every moment, he is rejoicing with tremendous joy because somewhere in the world a sinner is repenting (Luke 15:7,10,23)?
Who can comprehend that God continually burns with hot anger at the rebellion of the wicked, grieves over the unholy speech of his people (Ephesians 4:29-30), yet takes pleasure in them daily (Psalm 149:4), and ceaselessly makes merry over penitent prodigals who come home?
Who of us could say what complex of emotions is not possible for God?
All we have to go on here is what he has chosen to tell us in the Bible. And what he has told us is that there is a sense in which he does not experience pleasure in the judgment of the wicked, and there is a sense in which he does.