“It is good to have an end to journey towards; but it is the journey that matters, in the end.”
                                        
                                        The Left Hand of Darkness (1969) by Ursula K. Le Guin, in Chapter 15 "To the Ice" 
See also https://www.huffpost.com/entry/hemingways-stolen-quotati_b_6868994. 
Misattributed 
Varianta: It is good to have an end to a journey, but it is the journey that matters, in the end.