Unless you do something dramatic like shooting the boss, being nasty to junior staff, coming up with a good idea or serving the clients etc. It is very difficult to sack someone. The process is time consuming for management , nobody actually likes doing. Besides there is a good chance that you will get someone worse. Better the devil you know.
Once I had a boss that done something so stupid that couldn’t sack him.