Strengthen moral concepts, be cautious in making friends, and be strict with yourself
Human behavior is governed by ideas. If you have a high level of morality and a strong sense of the rule of law, you will pursue progress and make fewer or fewer mistakes, and you will not do anything illegal or criminal. If the moral level is low and the concept of law and discipline is weak, people will pursue vulgar tastes and inevitably make mistakes that violate the law. If they continue to develop, they may break the law or even fall into the quagmire of crime. Obeying the law is also a manifestation of practicing ethics.