My company's strategy to reduce voluntary attrition is to fire people before they can resign

So basically they try to find the sentiment of the employee, that clubbed with a slight performance issue, they would go ahead and fire the person as he is likely to resign anyway. I found this so toxic!