Marvin knew that he was in a dangerous place and that death might await him at any tree he passes. Comforting himself in the fact that he never saw any beasts near the beach, he assumed that he would not have any encounter with any beasts on these white sand grains and that the beach could be considered his "firelink shrine".