The quote you are referring to is from Robert Burns' poem "To a Mouse", written in 1785. While it is a famous and often quoted line, it was not used by Hemingway as a book title.
Hemingway's most famous titles include:
* The Sun Also Rises
* A Farewell to Arms
* For Whom the Bell Tolls
* The Old Man and the Sea
There is a chance you may be thinking of another author who used a similar quote in a title. If you can provide more context or details about the book you are thinking of, I may be able to help you further.