Before the Torah was given to Israel through Moses, Abraham was considered righteousness BECAUSE he believed God. God showed him the heavens – which declare God’s existence and His glory. Abraham probably thought, “If God could do all that…He can do whatever He says.” Must have been his thoughts…loving faith in God is the #1 essence of the Torah.
Genesis 15:5-7: Then He brought him outside and said, “Look now toward heaven, and count the stars if you are able to number them.” And He said to him, “So shall your descendants be.” And he believed in the Lord, and He accounted it to him for righteousness Then He said to him, “Iam the Lord, who brought you out of Ur of the Chaldeans, to give you this land to inherit it.”
Deuteronomy 6:1-5: “Now this is the commandment, and these are the statutes and judgments which the Lord your God has commanded to teach you, that you may observe them in the land which you are crossing over to possess, that you may fear the Lord your God, to keep all His statutes and His commandments which I command you, you and your son and your grandson, all the days of your life, and that your days may be prolonged. Therefore hear, O Israel, and be careful to observe it, that it may be well with you, and that you may multiply greatly as the Lord God of your fathers has promised you—‘a land flowing with milk and honey.’
“Hear, O Israel: The Lord our God, the Lord is one! You shall love the Lord your God with all your heart, with all your soul, and with all your strength.