The first rule of getting out of a hole is to stop digging.
A foundation on beach sand, not really a very good idea.