These are hard learned lessons. You also have to structure your life in a way that you don’t need the job and can walk away when needed.