A dog started digging an impressive hole on the beach and was thwarted by a wave.