Even if you are lying for the smallest of reasons, it will hurt them.
There could be several reasons of you lying to your partner or parent or a friend, but don’t forget that at the end of the day- a lie is always a lie. And sometimes it is so hurtful that it creates serious trust issues in the relationship.