If you are replaceable you need to focus on building some skills which make you invaluable. Amazon can replace an unskilled warehouse worker without blinking. When a good programmer leaves the company though it's a painful and costly effort to re-staff the work/projects they were doing.