It actually depends on the situation.
All secrets will eventually be revealed as the saying goes.. but reality bites.. and there are some things that need not be told or need not be known.
Sometimes, lying is necessary.. 'white lies' as they are called.