I gain security and confidence in my employment by knowing the code base, the stack and the business domain. I pick projects that are core to the success of the company. In twenty five years, I was only laid off once and in that case, 18 of 20 were let go in 2008 when an engineering firm lost all their work.
Some people are just unable to stop. My wife was like that in her small business. Her mindset was something like: I can't watch TV, I'm wasting money I could be earning. Even if there's no work right now, you can always do business development. It can become a trap.