Such a person's personality cannot be changed, so this road is blocked. First of all, you should know what you are working for. If it's just for fun, you can quit. If it's for money (basically for money), just put up with it. This is basically the case where the boss goes now. Self-righteousness and moodiness are normal phenomena. If you are paid well somewhere and the salary is not worse than yours, there is no need to resign. He scolds. Let's just keep our heads down and pretend he's farting. When he's finished scolding, do what he has to do.
One thing to remember, don't expect such people to be good to you. If one day he praises him, don't be happy, or think he is farting. Because you accept this praise in your heart, it may be hard to think that he is farting next time he abuses you. This is a psychological difference. Of course, the truest personal advice is to quit. There is really no future with such a boss. Although he is the boss now. But his personality is like that, which shows that he is not a qualified manager.
I don't know if he will go bankrupt, but he certainly won't do much, and the upper limit is relatively low. Moreover, if you work under such a boss, you will be really angry with yourself one day. There is really no need to suffer for two money. Although it is difficult to find a job now, it is not difficult to find a job that can support yourself.