Aslam

Surah Ash-Shams — 91:8
فَأَلۡهَمَهَا فُجُورَهَا وَتَقۡوَىٰهَا
then with ˹the knowledge of˺ right and wrong inspired it!

Commentary

Then He made it understand - without teaching it - what was evil so it could be abstained from, and what was good so it could be implemented.

Read Tafsir Ibn Kathir