just like humans, there are bad spirits and good spirits, bad djinns and good djinns. good djinns worship God and they won't do any harm. however, bad djinns can be as evil as satan, they distract humans by luring them into bad things, whispering bad thoughts, etc. to keep humans away from God.
the goodest djins are the same level as the baddest human being lol Djins are dangerous. better not play with them