The omniscient god knew that evil would go along with creation. In spite of this he did not refrain from creating. According to German philosopher Schelling (1775-1854) the question of WHY he did not refrain from self-revelation does not even deserve an answer. For the supreme being to refrain from self-revelation would have been tantamount to saying: in order to prevent the opposite of love, love itself shall not exist.
Quite in Schellingian fashion we hear many people say: “How can you sacrifice the love a new human being will give and experience just because this person will also experience evil things? On your account evil would predominate love!”