Translation of "Going astray" in German

I think you were afraid of going astray.
Du hattest Angst, dich zu verirren.
OpenSubtitles v2018