Would you tell me, please, which way I ought to go from here?'
'That depends a good deal on where you want to get to,' said the Cat.
'I don't much care where —' said Alice.
'Then it doesn't matter which way you go,' said the Cat.
Charles Lutwidge Dodgson, better known as Lewis Carroll is an English writer that was born on 27 January 1832 in Daresbury, Cheshire, England and died of pneumonia at the age of 65 on 14 January 1898 in Guildford, Surrey, England. His most famous writing is Alice's Adventures in Wonderland.
This quote is from Chapter VI: Pig and Pepper.