Basically you lie to provide misinformation. It can be of the white lie type which is done to avoid committing a social faux pas, which depending on the recipient/onlookers can have minor or potentially serious consequences. He who pays the piper calls the tune. The emperor wears no clothes...
On the other hand, providing misinformation may be done to avoid pain, punishment, hardship, or death. Is there a person that is so committed to telling the truth that he is willing to put himself or his group in jeopardy? There is the dilemma taught in moral philosophy classes about the german citizen hiding Jews in the attic. The Nazis show up and ask him if he has any Jews hiding in the house. If he doesn't lie, people die.
Then there is the outright or deceitful lie. This is done purely for egotistical reasons, such as to get away with committing a dishonest act such as stealing, cheating, fraud, murder, etc. Although self-preservation is involved, the one telling the lie is reponsible for his own predicament, and had the choice to avoid it but chose not to.
Then there are evil lies. This is (mass) deception done by individuals or groups in order to gain unfair advantage of a person, groups or entire populations for nefarious purposes. Such lies and deception have been used to fool and enslave masses, despoil environments, commit genocide, steal treasures, institute rogue governments, and all other examples of evil in the world.
Only the third and fourth types of lie are dishonest. Lies of the second type are done by honest people to survive against liers of the third and fourth kind. Lies of the first type keep things running smoothly in the dramatic sense.