I think what you're describing is wisdom, as described in the Serenity Prayer:

"God, grant me the serenity to accept the things I cannot change, the courage to change the things I can, and the wisdom to know the difference."

Oh, that would be nice! Thank you.