A serious type of lie is perjury. It means telling a lie in a court of law. It can lead to a great injustice. For that reason it is legally and morally wrong. The Ten Commandments says we should not "bear false witness against our neighbor". Most religious thinkers say this can mean other lying also, but very strongly forbids perjury.