You have:
Still round the corner there may wait
A new road or a secret gate,
And though we pass them by today,
Tomorrow we may come this way
And take the hidden paths that run
Towards the Moon or to the Sun.
But if I recall correctly it should be:
Still round the corner there may wait
A new road or a secret gate,
And though I oft have passed them by,
The day may come at last when I
Take the hidden paths that run
East of the Moon, west of the Sun.
The version we have appears in the beginning of the story... Chapter 3.
Your version appears at the end of the book, at the Grey Havens:
It was evening, and the stars were glimmering in the eastern sky as they passed the ruined oak and turned and went on down the hill between the hazel-thickets. Sam was silent, deep in his memories. Presently he became aware that Frodo was singing softly to himself, singing the old walking-song, but the words were not quite the same.
Still round the corner there may wait
A new road or a secret gate;
And though I oft have passed them by,
A day will come at last when I
Shall take the hidden paths that run
West of the Moon, East of the Sun.And as if in answer, from down below, coming up the road out of the valley, voices sang:
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
We still remember, we who dwell
In this far land beneath the trees
The starlight on the Western Seas.