Yes, the Devil tricks people into killing themselves or even putting them in harms way. The devil does this to claim lost or foolish soul’s earlier than intended for his own purposes. He can make us feel lost or worthless in life.
Too protect your soul you should not go into any contract with the devil. Try to do good by others & most importantly do good by yourself. Stay away from negative people and people that you know or feel are evil. If having negative thoughts about yourself or life try your best to turn it into positive ones. Only surround yourself with good people and good vibrations. Note you do not have to believe in God but do know if you believe that the Devil is real then so too is the creator of the world.