Just as Abraham believed God and it was counted to him as righteousness.
Galatians 3:6
Then he believed in Yahweh; and He counted it to him as righteousness. Genesis 15:6
When the discussion arises as to how is one declared righteous, there really is only one correct and final answer, and the answer will always rest and be within the Holy scriptures themselves. Opinions do not matter only proper hermeneutics (Knowledge dealing with interpreting scripture). Biblically speaking there are doctrines throughout the Holy scriptures that are written in “plain text” easily understood and others with proper exegesis (critical explanation or interpretation of a text) can we then conclude with the truth in a particular doctrine.
On To The Declaration!
It is declared that it was counted as righteousness to Abram because he “believed”, it wasn’t merely an acknowledgment it was an established verified confirmed belief! This is a gift given by the Creator of the universe. It comes from Him and given to us! This righteousness is not our righteousness it is the righteousness that comes from God (Philippians 3:9) and is echoed again in Galatians 3:6 that Abraham had a personal trust and reliance belief, not merely a “Oh, I believe it” believability, a credence belief, it was a tangible genuine belief.
Do We Seek God?
The Holy scriptures state that mankind does not seek Him Psalms 14:2-3 “The LORD has looked down from heaven upon the sons of men to see if there are any who understand, Who seek after God. They have all turned aside, together they have become corrupt; There is no one who does good, not even one.” It is also written in Romans 3:10-12. We can read 1 Corinthians 2:14 where it says the natural man cannot accept or understand the things of God without the Spirit of God! So in short, The Spirit who is God needs to be in the person to have the ability to examine the word of God rightly.
Faith
It is through faith that one is declared righteous. The initial act of God drawing you to the Son is necessary John 6:44.