Err - In the sense of wandering from the right way, the way of life.
SDA Bible Commentary (limited)
Volume 1-7
22. Do they not err? The purpose of the question is to make a strong assertion. Even if there were no God and no eternal reward, it would still pay to “devise good” and thus encounter kindness and trustworthiness in those around. Mercy occurs in combination with truth (Ps. 61:7; 85:10; Prov. 3:3; 16:6).