As the experiment showed, washing with water alone doesn't do as good a job as washing with soap. In the same way the soap lifts off the paint so it can be rinsed away, soap grabs microbes so they're flushed away by the water. You just can't see it happen as easily with invisible microbes as you can with paint.