Genesis 5:2 He (God) created them male and female and blessed them. And he named them “Mankind”[a] when they were created.
Book of Genesis was written in Ancient Hebrew and Aramaic both languages that are over 3000 years old. Do not let modern English speakers, about 600 years old language, tell you what the definition of sexes/gender is and who created them.