Beyond Knowing Right from Wrong
Imām Ibn Taimiyyah, may Allāh have mercy on him, said:
[I]t’s been said: an intelligent person isn’t one who [simply] knows good from evil—an intelligent person is one who knows the better of two goods and the worse of two evils.
Majmūʿ Al-Fatāwá, vol. 20, p. 54.