These glaring and insurmountable moral paradoxes are proof positive that it's all complete bollox.
If there is a 'God', he's given us a conscience and moral 'law' written in our hearts. These are a much better guide than a lot of scary old Jewish stories written by ancient priests to frighten the people into continuing obedience. Throw your Bible in the trash, it's not needed. All you need to follow is your heart and conscience. Even the apostle Paul admitted it:
Romans 2:14: "For when Gentiles who do not have the Law do instinctively the things of the Law, these, not having the Law, are a law to themselves, 15in that they show the work of the Law written in their hearts, their conscience bearing witness and their thoughts alternately accusing or else defending them, 16on the day when, according to my gospel, God will judge the secrets of men through Christ Jesus."