World NOT Created in Chaos
We read in I Corinthians 14:33 that "God isNOT the author of confusion." God is the author of peace. God is the author of order and of law.
Why would He create the earth in disorder and then have to straighten it out? That doesn't make sense! One scholar points out that the Hebrew word for "created," bara, used in Genesis 1:1, "implies that the creation was a perfect work." That very word "created" implies a perfect and a beautiful order and system, not chaos or confusion!
The book of Job shows God talking with Job about the creation. God is saying to Job, "Where wast thou when I laid the foundations of the earth?" There is the implication here that Job had directed the building of some very great edifice--such as the great pyramid of Giza in Egypt. Job was righteous and somewhat proud of his accomplishments. God was whittling him down to humility by a comparison of accomplishments.
God continues, "Who hath laid the measures thereof, if thou knowest? or who hath stretched the line upon it? Whereupon are the foundations thereof fastened [margin, "sunk"]? or who laid the corner stone thereof; When the morning stars sang together, and all the sons of God shouted for joy?" (Job 38:4-7.)
It is significant that the great pyramid is a building where the corner stone is not laid in the foundation, but the final stone to be laid--at the pinnacle. The "morning stars" are light-(truth-) bringing angels and archangels, according to Biblical interpretation of symbols. As creations of God, they also are referred to as "all the sons of God." So this, too, implies a perfect and glorious creation of the earth.
Then how did it become chaotic?
In Genesis 19:26, the same Hebrew word hayah is used which is translated "was" in Genesis 1:2. (See also Genesis 2:7 and 9:15.) And there it is translated into the English word "became." In the first three chapters of the Bible, and many other places where you find the Hebrew word hayah, in almost every case it denotes a condition that was different from a former condition. In other words, the earth "BECAME" chaotic. It had not always been that way.