Psalm 5:5 G-d hate the wickedness

“כִּי לֹא אֵל חָפֵץ רֶשַׁע אָתָּה לֹא יְגֻרְךָ רָע”

“For You are not a God Who desires wickedness; evil does not abide with You”

The consistent question of the existent and so often also the dominion of evil in the world, is the source of this verse.

Yes, the evil exist and might prosper. But You – G-d hate the wickedness, the Evil does not abide with You.

What room is therefore for the evil in the world? Answer- To allow free will! By all means, it doesn’t indicates that HaShem like the wickedness.
Thank goodness, nowadays we’re accustomed to think about free will as a basic and reasonable thing every person is eligible to.  A deeper view, might question the mere possibility of doing anything against the Will / commandment of the Lord.

Meaning – G-d created the world and consistently maintains it, without Him nothing would exist for even the slightest shred of a second.
If that so, how is it possible that we (Humans) can do anything that contradicts His Will? Is He providing us with the power to disobey Him??  The answer again,is yes. For some reason, HaShem created a world that one of it’s fundamentals is ‘free will’, so we can even turn against our own Creator. All of that in order for us, to also choose (/coronate) Him as our King.