Out of the right way or proper place, both in a literal and figurative sense. In morals and religion, it signifies wandering from the path of rectitude, from duty and happiness.
Before I was afflicted, I want astray. Psa 129.
Cattle go astray when they leave their proper owners or inclosures. See Deu 22.