1st of all you do not believe in God right? Also your believe morals are just people opinions right? That means you don't believe that evil exists right? How can you use that against God anyway.
"If a man also lie with mankind, as he lieth with a woman, both of them have committed an abomination: they shall surely be put to death; their blood shall be upon them." Leviticus 20:13
That's if you were gay and choose to live in Israel and it is non-binding today. It is also considered part of the Holiness Code.
"However, you may purchase male or female slaves from among the foreigners who live among you. You may also purchase the children of such resident foreigners, including those who have been born in your land. You may treat them as your property, passing them on to your children as a permanent inheritance. You may treat your slaves like this, but the people of Israel, your relatives, must never be treated this way." Leviticus 25:44-46
Read the next verses
47 And if a sojourner or stranger wax rich by thee, and thy brother that dwelleth by him wax poor, and sell himself unto the stranger or sojourner by thee, or to the stock of the stranger's family:
48 After that he is sold he may be redeemed again; one of his brethren may redeem him:
49 Either his uncle, or his uncle's son, may redeem him, or any that is nigh of kin unto him of his family may redeem him; or if he be able, he may redeem himself.
50 And he shall reckon with him that bought him from the year that he was sold to him unto the year of jubile: and the price of his sale shall be according unto the number of years, according to the time of an hired servant shall it be with him.
51 If there be yet many years behind, according unto them he shall give again the price of his redemption out of the money that he was bought for.
52 And if there remain but few years unto the year of jubile, then he shall count with him, and according unto his years shall he give him again the price of his redemption.
53 And as a yearly hired servant shall he be with him: and the other shall not rule with rigour over him in thy sight.
54 And if he be not redeemed in these years, then he shall go out in the year of jubile, both he, and his children with him.
55 For unto me the children of Israel are servants; they are my servants whom I brought forth out of the land of Egypt: I am the Lord your God.
Also to note Slaves in ancient times were considered at least in Israelite culture different than plantation slavery that was common in the 1700s-1800s United States of America.
"Slaves, be subject to your masters with all reverence, not only to those who are good and equitable but also to those who are perverse." 1 Peter 2:18
It basically is saying turn the other cheek.
"When a man sells his daughter as a slave, she will not be freed at the end of six years as the men are. If she does not please the man who bought her, he may allow her to be bought back again."
Exodus 21: 7-8
It's basically arranged marriage.