The Moon Is a Harsh Mistress
Author Robert A. Heinlein used the phrase in his 1966 novel, "The Moon Is a Harsh Mistress", with a character telling lunar colonists: