When you think like a mother, you don't build a seawall around beachfront property, because that would divert floodwaters to communities that are still exposed.
Most of the sand in nature, like in the desert, is too fine for society's massive needs, so it's mined from beachfronts, the bottom of the sea, riverbeds and quarries.