Fact 1: Most plants grow roots down into the soil to absorb water and minerals. 
Fact 2: Plant roots begin to stabilize the soil against erosion.
The need for plants to absorb minerals and water from the soil also leads to them preventing soil erosion.