سُبْحَانَ ٱللَّٰهِ
Holy Qur'an
Al-Qur'an
Kids Qur'an
I.e., the ancient revealed scriptures (az-zubur) had made the meaning of good and evil absolutely clear to them, but they wilfully disregarded or even consciously rejected that teaching. The above verse implies, firstly, that the basic ethical teachings of all revealed religions are essentially identical, and, secondly, that God "would never destroy a community for [its] wrongdoing so long as its people are still unaware [of the meaning of right and wrong]" (see · {131-132} 15:4 ,{26:208-209}. and the corresponding notes).
The point is that nothing which men do is lost-good or evil. Everything gives rise to an inevitable chain of consequences, from which a release is only obtained by the intervention of Allah's Grace acting on an act, a striving of the human will to repent and turn to Allah.