All religion is nothing more than an attempt to control a population by enforcing 'laws' that come from a higher authority that is beyond challenge, It is used as an extremely powerful tool to keep people 'in line'. It is particularly useful in circumstances where the population are under duress, be it poverty, starvation, tyranny. whatever, because then the powers that rule will assure you that you must accept your lot, lead a good life, don't rock the boat and cause any trouble, and you will be rewarded in the next life. Oh, good. The more you apply cold logic to it, the more senseless and totally meaningless the whole charade becomes, except as a means of control.
Imagine for a minute that you are God with all his unlimited powers.
1) You decide that for some reason that the people on planet Earth need guidance for their own good. Do you
(a) Appear before one person in a vision, give them secret instructions and hope they pass it on correctly and don't take liberties, or
(b) Appear before the masses and tell them direct, thereby proving your existence beyond doubt and at the same time ensuring that they get the right message.
2) You wish to have your laws continued forever. Do you
a) Tell them once and disappear for a couple of thousand years or more, or
(b) Make regular appearances to reinforce belief.
3) You care for these people, so when you see things going terribly wrong, do you
a) Sit back and watch the fun, or
(b) Step in again with some timely advice.
4) You have unlimited powers, you can create the world any way you want. Do you
(a) Make the climate changeable and unpredictable resulting in the deaths of millions due to drought, floods, heat waves etc. Or
(b) Create a stable climate so that the population can grow their crops and feed themselves.
For all questions answered (a), Really bad idea, award yourself nil points. For all answers (b), Well done! good choice, you get full marks. So why do we have all the above wrong answer situations in the world and none of the good answers? If you believe there is a God, how do you answer that? Why would He act in such an uncaring and nonsensical way? Please do not reply with that old standby phrase reserved for all tricky questions, 'God's work is beyond our understanding'. You can bet your life it is! Given unlimited powers any one of us could make a much better job of it.