He did not create it for chaos, but formed it to be inhabited

לא לתהו בראה (אלא) לשבת יצרה
Shiurim in this topic
8553. The Two Souls in Every Jew and Lessons from Parshas Toldos שתי הנשמות בכל יהודי ולימודים מפרשת תולדות