What our obedience does is SHOW us to be righteous in God's sight, not MAKE us righteous in God's sight:
Abraham was right with God, because he obeyed God's Voice.
It was Abraham's obedience, the obedience of faith [
his choice to do the right thing,] to get out of his father's house, and go to the land... in response to God's Voice to do so,
whereby he fulfilled the condition of the promise.
Now the Lord had said to Abram: "Get out of your country, From your family And from your father's house, To a land that I will show you.
2 I will make you a great nation; I will bless you And make your name great; And you shall be a blessing.
3 I will bless those who bless you, And I will curse him who curses you; And in you all the families of the earth shall be blessed."
4 So
Abram departed as the Lord had spoken to him, and Lot went with him. And Abram was seventy-five years old when he departed from Haran.
...
So they came to the land of Canaan.Then the Lord appeared to Abram and said, "
To your descendants I will give this land.
Genesis 12:1-4,7
It wasn't that Abraham worked as a man "works" in exchange for wages, but rather Abraham obeyed what God told him to do, by getting out of his father's house and going to the land that God showed him, in which he met the condition of the promise... as God said
To your descendants I will give this land.
At this point was right with God, because believed and showed God that he believed by obeying.
Abraham was still in the process of faith, and was still continuing to believe, and continued to be obedient...
Abram dwelt in the land of Canaan, and Lot dwelt in the cities of the plain and pitched his tent even as far as Sodom.
But the men of Sodom were exceedingly wicked and sinful against the Lord.
And the Lord said to Abram, after Lot had separated from him: "Lift your eyes now and look from the place where you are--northward, southward, eastward, and westward; for all the land which you see I give to you and your descendants forever.
And I will make your descendants as the dust of the earth; so that if a man could number the dust of the earth, then your descendants also could be numbered.
Arise, walk in the land through its length and its width, for I give it to you." Then Abram moved his tent, and went and dwelt by the terebinth trees of Mamre, which are in Hebron, and built an altar there to the Lord. Genesis 13:12-13
Abraham continues to believe, and continues to obey... waiting for the promise to be fulfilled.
God continues to fulfill His promise -
I will bless those who bless you, And I will curse him who curses you;
Then Melchizedek king of Salem brought out bread and wine; he was the priest of God Most High.
And he blessed him and said: "Blessed be Abram of God Most High, Possessor of heaven and earth;
And blessed be God Most High,
Who has delivered your enemies into your hand." And he gave him a tithe of all.
Now the king of Sodom said to Abram, "Give me the persons, and take the goods for yourself."
But Abram said to the king of Sodom,
"I have raised my hand to the Lord, God Most High, the Possessor of heaven and earth,
that I will take nothing, from a thread to a sandal strap, and that I will not take anything that is yours, lest you should say, 'I have made Abram rich'-- Genesis 14:18-23
Abraham continues in his faithfulness to God,
to serve Him and believe in Him
1 After these things the word of the Lord came to Abram in a vision, saying, "Do not be afraid, Abram. I am your shield, your exceedingly great reward."
2 But Abram said, "Lord God, what will You give me, seeing I go childless, and the heir of my house is Eliezer of Damascus?"
3 Then Abram said, "Look, You have given me no offspring; indeed one born in my house is my heir!"
4 And behold, the word of the Lord came to him, saying, "This one shall not be your heir, but one who will come from your own body shall be your heir."
5 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."
6 And
he believed in the Lord, and He accounted it to him for righteousness. Genesis 15:1-6
What you are trying to teach is:
This is the very first time that Abraham believed God, and all Abraham did was believe in his heart with no action of obedience, and therefore God accredited to him as righteousness.
Abraham showed he believed God, when he left his father's house and went to the land, that God showed him, by faith, and walked in the righteousness that is by faith.
The action of obedience was working together, with his faith, and therefore faith was completed through the action of obedience.
By faith Abraham obeyed when he was called to go out to the place which he would receive as an inheritance. And he went out, not knowing where he was going. Hebrews 11:8
Abraham continued to believe and continued to obey, throughout his life to the end, and God declared to his son...
And I will make your descendants multiply as the stars of heaven; I will give to your descendants all these lands; and in your seed all the nations of the earth shall be blessed;because Abraham obeyed My voice and kept My charge, My commandments, My statutes, and My laws. Genesis 26:4-5
JLB