Genesis 1:1–6:8: The Creator shows why to ‘have no other gods before [Him]’

Some Bible versions translate Gen. 1:1 as “In the beginning, God created…” or “In the beginning of God’s creating the heavens and the earth….” בְּרֵאשִׁית Bereysheet (Genesis) is not a science book. It is not designed to teach you how God created anything. The purpose of the beginning of Bereisheet is to teach us who God is, what He did and how powerful He is, much like Devarim (Deuteronomy) starts with reminding the people who God is and why the Ten Commandments say to have no other gods before Him.