When you enter the house with the shoes that came from the street, you carry viruses, bacteria, fungal spores, cigarette ashes, industrial toxins, feces, etc ...
Avoid walking with shoes coming from the street inside the house.