Spirituality most likely. I know the natives around Nazca say their ancestors walked the lines performing rituals at certain points as a means of worship.
Pretty much every big thing ancient people did was related to spirituality, the afterlife, or astrology.
There is a path in there. I wonder if they walked the path as part of their spirituality. Sort of like some Christians walk labyrinths.