To operate based on conviction and belief requires an acceptance that your actions could get you fired. This is different from pig-headed bravado, and it is different from putting the company at risk.
I got fired from my first job in a store when I was a student because I kept wearing my own things, and people kept asking me where they were from, and the owner of the store got annoyed with me. So I got fired because I couldn't afford to buy the clothes from the store.
I always say, I have been fired from more jobs than most people would ever have had in their entire career.