The problem is no job is ever secure except for government jobs. So if you base buying a house on that criteria, then you’ll never buy a house. A job might be secure for 5-10 years, but no one can ever say their job is secure for 30 years, the duration of their mortgage.