Plants build dunes but can speed erosion during severe storms
When waves hit vegetated dunes, waterlogged areas form in front of plants, making for sand that’s easier to wash away. But you still need plants to form dunes in the first place.
Source: preventionweb.net