believe the answer is: Flood
The thing that connected grass and erosion is that the existence of grass would PREVENT erosion because grass strengthen the soil composition on top of it. Dam is created in order to direct flowing water from rain into a space provided especially to store it, which will PREVENT flood.