Knowing good and evil is about being a child of this moment (al-waqt).
This necessitates a thorough knowledge of one's internal states (aḥwāl) in relation to external events.
Such wisdom cannot be understood or explained over the internet!
However, you can study and meditate upon Al-Risalah by Al-Qushayri to understand the subtleties of internal states and their approximate stations (development within the psyche).
Through initiation and developing light on your own, you will learn how to modulate light (internal states, aḥwāl) in accordance with His will (may He be praised)!
For thirty years I sought God. But when I looked carefully I found that in reality God was the seeker and I the sought. -Bayazid al-Bastami