Our Creator blesses his people with peace. Psalm 29:11 Even when bad things happen to them in this world, his people know that this life is not all that there is, and one day bad things will come to an end.
But God does not create evil. With evil things God does not tempt us. Evil is what we do when we disobey our Creator. Psalm 45 in context clearly shows that when people do evil things, evil things happen to them. We reap what we sow. Galatians 6:7
Jehovah God does not need to create evil, any more than if he, the Creator of light, needs to create darkness. Darkness comes when the light goes away. Similarly, evil, or in this case, calamity, comes when people stop doing good things. That is the whole point of God providing us with guidance in order to avoid this calamity. If we obey him, we will avoid it. If we don't, well, Galatians 6:7-8 is working again:
7 Do not be misled: God is not one to be mocked. For whatever a person is sowing, this he will also reap; 8 because the one sowing with a view to his flesh will reap corruption from his flesh, but the one sowing with a view to the spirit will reap everlasting life from the spirit.
We cannot avoid this universal law of morality. Obey God, and good things will eventually happen. Disobey him, and bad things will eventually happen. We don't blame God because this is true. We should blame ourselves for imagining that it doesn't work that way. We should also blame ourselves if we imagine that God does not love us enough to give us guidance that will benefit us.
Isaiah 48:17, 18
17 This is what Jehovah says, your Repurchaser, the Holy One of Israel:
“I, Jehovah, am your God,
The One teaching you to benefit yourself,
The One guiding you in the way you should walk.
18 If only you would pay attention to my commandments!
Then your peace would become just like a river
And your righteousness like the waves of the sea.
New World Translation of the Holy Scriptures (Study Edition)