Wrong why, though? Is the ground outside really THAT dirty? Even if it is, can you guarantee that the floor in your house isn’t effectively as dirty?
Living in Southern California, where we don’t get much inclement weather, tracking in muddy or otherwise physically dirty shoes in the house isn’t really a concern 95% of the time.
The ground outside is literally made of dirt. It is as dirty as it gets.
The only way your shoes don't get dirty is if you never actually walk on dirt. Which, sounding like you are American, is probably true since everything is concreted over to make space for your cars.
And even then, you never encounter dog shit, right?
Ah, this reminds me of uwabaki (上履き) back when I went to elementary school in Japan. Outside shoes and inside shoes which are called Uwabaki are different. The only time I use Uwabaki outside is in an emergency situation. I remember doing this in 2011 Earthquake