How can God be all-good while knowing the devil's thoughts?