Keeping precepts is to teach you spirituality, because I don't make mistakes, because I pay attention to my self-cultivation and my spirit will be unified. Because you can't quit greed, lust and everything, you will be insane. A person is distracted all day, and it is not easy to concentrate. It is because he has been distracted in the world for a long time that he will be schizophrenic at some point. So people who can't concentrate will get crazy after a long time.
Buddhists must observe precepts. If a person says he can't quit, then he will have to bear the consequences. For example, if you can't think of one thing, you should think hard. Then you just don't keep the precepts, you don't have law and discipline, you are distracted every day, you can't figure it out, and later you become a mental illness. Therefore, keeping precepts is a standardized concept, that is, after I keep precepts now, I won't let myself do anything wrong.
I don't smoke or drink today. I am a teacher. I don't lie today, I am a teacher; I don't kill, steal or commit adultery today, so I also keep the precepts. In this case, what you do is a very standardized life, and your idea is integrity. As long as your mind keeps the precepts, you won't be loose and dissolute. If you don't put it down, you will keep the precepts. As long as you don't think about this and that in your heart, in fact, you are already practicing the precepts. If your heart is free, it is breaking the precepts. You never drink, and suddenly someone says to you, "Have a drink." Well, if you drink, you will break the precepts. A girl used to be very disciplined, and suddenly some hooligans came to seduce her. If she does something bad, she will indulge herself and break the precepts. If you are a vegetarian today, you suddenly eat meat because everyone is asking you to eat. You eat it, thinking it doesn't matter if you eat it once, you are relieved. Well, you broke the commandment.