Is it ethical to hide the truth from a dying patient?

Is it ethical to hide the truth from a dying patient?