If you're a former tech lead with 10 years of experience, and struggling to get a job then you're doing something wrong.
Have a friend / former colleague who knows you and the industry. Get them to look at your CV and do a mock interview. Then listen to their advice.
You are probably making a basic mistake like badmouthing former employers / being bad at leetcode / not having good reasons for gaps / unreasonable requirements ...
Increasing resilliance will just make you keep failing. You need to fix the problem that has caused you to fail 40 interviews despite 10 years of experience.