This is terrible attitude, and it greatly devalues necessary work. Yes, if you are an engineer, you see stocking grocery store shelves as a technical problem to be solved, but other folks look at it as a way to make a rather meager living. Contrary to popular belief, not everyone can do white collar labor for a reasonable middle class salary.
Don't get me wrong, I think some work certainly could be automated, but at the same time, we need to consider the human cost of automating that work. A glib response of "learn how to write specs" or referring to people that do some tasks as "fucking idiots" does very little to advance the conversation.