The purpose of religion is to answer 'What is it all about?", “Why am I here?”, “What is the meaning of life?” - that sort of inquiry that has been pondered since we could convey or record our thoughts.
It takes so very little to realize that 1) Each human and their days (even their legacy) on Earth are fleeting compared to eternity and 2) we are insignificant compared to the enormity of the universe. This reflection causes us to wonder about the first 3 questions above.
Therefore, in seeking an answer to this powerless status AND in response to an inborn yearning that is testified going back to the beginning of recorded history, we look to something greater than ourselves. Maybe small at first, our immediate family or tribe and then moving larger - a sports team, our school, our country and its worldly power.
Since these are ultimately found to also be fleeting in size or duration, we ultimately must consider God. The one being that is considered historically and in most cultures, at the top of the pecking order - all knowing, all powerful, all seeing and forever extant. Do I understand this concept? Or theologians? Or scientists? Or anyone else? Not with our limited mental capability, thus religions have been born to try to explain God, seek God, ‘get in’ with God.
And this is the beauty of it - God wishes us to seek him and to want to know and ‘get in’ with him. Since that is abstract, like being in love with being in love, what are human examples? A loving family, the relationship you (hopefully) have with your father, the one you strive to have with your child, spouse, parents.
In other words, the Golden Rule. But not out of compulsion or fear of being dropped out of the will. Simply because these people mean more to you than anything else. More than weightlifting, march madness, chasing girlies, being the richest man ever…
God created Man to be the pinnacle of creation. A crown jewel. He gives us free will to be in a relationship with him of our own volition. He wanted more from and for us than animals, which live according to nature and instinct. Birds don’t consider flying south, horses don’t think 'Winter’s coming, better eat more and grow more hair." He wants a relationship.
In the end, God has already chosen us to be in the will and to come to an eternal feast, but he does not force us to do so (remember how we differ from animals). Literally every person has been invited. But you must accept that invitation for it to happen. And since he is God, it will be done on his terms. The thought that God created man to beat-down, kill, extract vengeful punishment is exactly the opposite of the truth.
Because of this, I will not sugarcoat this truism - you must accept Jesus of the Bible as your savior and agree to follow his example. There are no other good works, payments, excuses, begging, fist wavings that will get you the invitation. None.
Seek him today, in the midst of your unbelief. Ask him sincerely to reveal himself, and your eyes will be opened.