Sewing machines were invented during the first Industrial Revolution to decrease the amount of manual sewing work performed in clothing companies. Since the invention of the first working sewing machine, generally considered to have been the work of Englishman Thomas Saint in 1790, the sewing machine has vastly improved the efficiency and productivity of fabric and clothing industries.
-Wikipedia
Elias Howe in 1844
Elias Howe invented the Sewing machine in 1846 in Boston Massachusetts
Around 1844, 1845
Elias Howe, invented the first sewing machine in 1846
it was invented by Elias Howe.
...
1844
If by "olden days" you're referring to prior to 1846 (when the sewing machine was invented), there was no sewing machine. All sewing was done by hand.
He invented a sewing machine.
Any machine will only do what the human operator tells it to do
Then we probably would not have the sewing machine. The sewing machine is a rise up of the spinning wheel.
The first sewing machine was invented by Thomas Saint in London during the 1790's