God is so holy and He hates evil at the same time because He is not delighted and happy seeing evil. Bad things entered the world because of human sin and the brokenness that followed. While God may allow difficult circumstances, His purpose is never to promote evil but to accomplish His greater plan, strengthen faith, and call people to trust and depend on Him.
In the time of difficulty and pains God wants us to alway trust him because he is capable of bringing out good things into our lives. Trials can develop patience, spiritual maturity, and a deeper relationship with God. Rather than believing that God desires bad things to happen, the Bible points us to His mercy, faithfulness, and promise to be with His people through every hardship.