How does soap kill bacteria?
Ordinary soap does not kill bacteria. Soap is a long chain molecule that attracts both polar and non-polar molecules. Water is polar. Dirt is non-polar. Dirt is attracted to the soap molecule and is carried out of your clothes when the water pulls the soap molecule away. You need antiseptics to kill bacteria.