Loki is the god of evil and deceit in Norse mythology. It is known for having a complex character. We can understand from many of his legends that he did not do the evil he did just to be evil. Loki may be more like a spoiled child; The situations he causes are sometimes to save himself, and sometimes just to cause chaos. In some stories, he is also the one who saves the gods. In these aspects, it's not very appropriate for Loki to be exactly the pure epitome of evil.