I believe there is a law in the US that is a Good Someritan Law, which means you must help a person who's dying or being robbed et. if you can, so, yeah, if the man is drowning in quicksand there, it's illegal not to help him, as well as it is immoral.