Saying something you don't mean with all sincerity to someone only because they are words that person needs to hear is not really lying if that person believes the words meant for them to hear.