If you want to know the secret of rejoicing in God you will have to reorient your thinking about God. You will also have to begin to look at evil and good in a new light, in the light of an utterly glorious, righteous, loving and sovereign God. A God who uses evil for His own purposes and for the long term good of His people. That is what the book of Habakkuk is designed to help us do.
“Habakkuk is standing before the Promised Land, and allowed to see it from a distance. Oh, I don’t mean he sees Israel, no he sees the New Jerusalem. He sees the day when Satan’s wicked kingdom of Babylon falls, and when God’s Kingdom vanquishes all evil.”
There are whole nations who tell themselves that God is on their side. It has never occurred to them that God is on His own side and that if they will not submit to Him and His righteousness, they have no hope.
Genesis 9:6 says,“Whoever sheds the blood of man, by man shall his blood be shed, for God made man in his own image.” God demands an accounting for each life. You may get away with murder in human courts but not in God’s court. Those debts will be remembered and those debts are more than you want to pay
If anyone wants to be saved from the hour of judgment they will have to place their confidence, not in any other thing than this one fact. Christ in His death on the cross, has paid for the sins of all who trust in Him.