King James Version
Take heed, regard not iniquity: for this hast thou chosen rather than affliction.English Standard Version
Take care; do not turn to iniquity, for this you have chosen rather than affliction.New International Version
Beware of turning to evil, which you seem to prefer to affliction.