Bipedal hominids lost their body hair around 1,9 million years ago. Soap use became largely ubiquitous around 100 years ago. So, for the last 1,899 million years, your ancestors, and the microbes that co-evolved with them, got along just fine cleaning themselves in rivers and lakes.
The human skin microbiome is very different from that of other animals. We have partnered with a tight group of bacterial and fungal species that are now so dependent on us that they are unlikely to survive anywhere other than on human skin.
This eclectic ecosystem on skin is largely due to the highly curated food source that is supplied by our sebaceous glands. Human sebum is abundant and nutritious, but very strange in its chemistry and it includes unique fatty acids that are toxic to most microbes. Sapienic acid, for example, isn’t found in other mammals and it kills the pathogen S. aureus but can be used as a food source by commensal bacteria.
Surfactants in foaming products wash the bulk of the natural skin oils and the surface microbes down the drain. In behavior that is typical of human arrogance and greed, we then try to replace the lost oil with petrochemical moisturizers and lotions. We can’t even copy the chemistry of sweat at this point, so our chances of mimicking sebum are quite low.