It's almost always better to tell the truth to other people than to lie to them. For every single lie you tell to other people you risk of being found out lying. Being found lying isn't something you want for obvious reasons. What makes lying even worse is when the person/people you lie to ask you to elaborate more on the lie you just told. You may need to tell a bunch of other lies or even construct a consistent and logical story to cover up the initial lie and every single lie may be exposed at any moment.
Of course there are always exceptions for every rule. One may find it's justified to lie when your life is being threatened and you can save yourself by lying or telling a harsh truth to someone may cause them to be mentally devastated. Everyone has a different moral view on when lying is permissible for them.