I think that lying is actually a great skill to have and develop, but what is important is teaching children when it is appropriate to dissemble. If someone is going to attack you if you tell the truth, then it is entirely okay to fabricate. If a child encounters such a situation and has no skill in lying or believes that he must always tell the truth in such circumstances, then he is setting himself up to be attacked.
Children who lie to their parents when they have done something (like break a lamp) are trying to avoid punishment, are trying to avoid having love being withheld from them.