What did the sewing machine replace?

The sewing machine replaced sewing by hand. It was able to sew faster and more consistantly than a person. Automating this skill freed people up to spend their time on different things.