Right, but the lesson is that we ought to look after the stable boy, not that the invention of cars was a bad idea.
What is moral and also efficient and kind is not standing in the way of him finding another occupation - to remove all regulation that hinders someone from providing value