God did not make those rules; nor does God actually exist.
Religious rules were designed by wealthy aristocrats to solidify their hold to power.
Which is why half of the Bible is the Prophets condemning the Kings and the narrative itself condemning basically every king except Hezekiah and Josiah as varying degrees of immoral. Even Hezekiah(!), Isaiah's golden boy, gets knocked for not destroying the high places.
Nathan condemning David for murdering Uriah the Hittite and wedding his wife, Elijah condemning Ahab and Jezebel for the seizure of Jezreel, the entire story of Saul and Samuel's brutal condemnation of him (and monarchy in general!!!)...I guess I just imagined those and they weren't actually in the text.
Reminder, most atheists who claim to study the Bible are full of it.
Yet statistics belie your position.
You might ask why so called believers almost never go to church and why it is the atheists who show the theists what they should be reading and how to read it.
Have you ever read these? I doubt it or you would be a Gnostic Christian or an atheist.
Matthew 6:22 The light of the body is the eye: if therefore thine eye be single, thy whole body shall be full of light.
John 14:23 Jesus answered and said unto him, If a man love me, he will keep my words: and my Father will love him, and we will come unto him, and make our abode with him.
Romans 8:29 For whom he did foreknow, he also did predestinate to be conformed to the image of his Son, that he might be the firstborn among many brethren.
Isaiah 56:11) "They are shepherds who have no understanding; They have all turned to their own way, each on to his unjust gain, to the last one" But do not despair, for the day of judgment is at hand, for the day of judgment and the day of the LORD occupy the same time frame. All the dross will be burned away. (Zech 13:9) & (Malachi 3:3). In that day, "you will distinguish between the righteous and the wicked" (Malachi 3:18)
Regards
DL