King David (probably) went to heaven. That was in spite of the fact the he committed a number of sins, the most egregious of which was stealing Bathesheba from Uriah.
The some is probably true of his son King Solomon.
David wrote the book of Psalms, and Solomon the books of Proverbs, Ecclesiastes, and Song of Solomon. That shows that they thought a lot about God, Jesus, and right and wrong.
Then there was the story of the prophet (I believe it was Daniel) who "mediated on the law day and night."
In John 3:16, it says "For God so loved he world that he gave his only begotten son, that whosoever believeth in him shall not perish put have eternal life."
All other things being equal, are people that "think a lot about" God more likely to have the faith they need to go to heaven than people who don't? Put another way, would another king who committed "Bathesheba" and other similar sins but don't "think a lot about God" be more likely to go to Hell than King David? And are there examples of people in the Bible who "think a lot about God" but probably did not go to heaven?
Note: This is the revised version of a question that was originally closed. This version postulates "faith," as the precondition for going to heaven, and asks if "thinking" is tied to "faith."
My comment to an answerer below was, "To ask the question "your way," is someone who "thinks a lot about God and Jesus and right and wrong" more likely to "believe in God's son [and therefore meet] the condition for eternal life?" –