This is a clever verse.

An evil man is angry because he hates God. So, God punishes the evil man for his behaviour. This is why the evil man dies.

A stupid man might not hate God. This man does not really know about God. And this man has not learned to do the right things. But the stupid man is jealous of other people. So, he copies their evil behaviour. Then God punishes the stupid man for his evil behaviour. This is why the stupid man dies.

Continues after advertising
Continues after advertising