I mean, this is a thing that happens. The malfeasance is pretty indefensible, but if you start talking about the employ-ability (or lack thereof) of people judged "incompetent" then we're going to start walking down a really dark path. It'd be nice if everyone was the perfect employee but some people have short tempers and some people are a bit less efficient than others - should these people (if they enjoy and are trained in software development) be unable to find employment because they fall short of a standard?
If so, how should they support themselves? Is it right and just to relegate everyone you judge incompetent (due to training or innate ability) as ineligible to work? There are obviously extremes here that we, as a society, accept - but if we raise that bar and make it more precise with big data some really scary social effects will come out of the woodwork.
Personally, I'm in the camp that we need to shift the morality and realism of working so that everyone has the safety net of a UBI to fallback on in desperate times because I am reading the tea leaves and fewer and fewer people have more and more control of the economy.