The Bible shows that Abraham was justified by faith because he believed God, not just in God, which was counted to him as righteousness.
Watch the Teaching: Why Abraham Was Saved by Faith Alone — Galatians Chapter 3 Explained