deviate from the path

Translations
сбиться с пути
During the hike, he accidentally deviated from the path and got lost.
Во время похода он случайно сбился с пути и заблудился.