If it is necessary sometimes to lie to others, it is always despicable to lie to oneself.
The same goes in a relationship, the reason he or she lied is probably because you cannot accept the truth and lying is the easier way out than arguing.
It is easy to become convinced that sometimes lies are necessary, yet it is a real struggle to defend and protect the truth at all costs.