Sam Hill is an American English slang phrase, a euphemism for "the devil" or "hell" personified (as in, "What in the Sam Hill is that?").