The concept of having a safe secure job just because you have good degrees or skills, is now obsolete and there is a general awareness about the new economy where performance is everything.You can't make yourself irreplaceable just because you are highly educated or skilled alone.
As long as you can add value to the company you work for, as long as you can perform, you have a job. But, if your skills are not of much value to your employer or you are unable to perform as expected, no matter how long you may have worked for the company, you can be replaced.