Are people who "think a lot about" God, Jesus, right and wrong more likely to go to heaven? 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."

All other things being equal, are people that "think a lot about" God more likely 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?
"Thinking a lot about God" does not get one into heaven.  Evidence:  John 3:16 says to believe in God's son is the condition for eternal life. Ephesians 2:8-9 says that faith, not works (which would include "thinking"), is the means through which one is saved.  Heaven: no.

Two bible passages can answer the question of whether "a lot" of devotion to the Lord earns one a special place, any merits with God. In  Matthew 20:1-16, the vineyard workers who showed up at the last hour get same wages as those who worked all day.  In Luke 15:11-32, the older son (who was a good boy all his life) is rebuked for his anger at the Father's love for the prodigal son.