how does the ocean and erosion work?

so this is just something i've been thinking about for years, you know how the sea eats away the land, will it eventually eat away all the land on earth?
https://www.youtube.com/watch?v=feryAnUfFSo
https://www.youtube.com/watch?v=feryAnUfFSo