The word contradicts your understanding. It states faith without works is dead. By works faith is made perfect. The following scripture pertains specifically to Abraham:
James 2:20-24
But wilt thou know, O vain man, that faith without works is dead?
21 Was not Abraham our father justified by works, when he had offered Isaac his son upon the altar?
22 Seest thou how faith wrought with his works, and by works was faith made perfect?
23 And the scripture was fulfilled which saith, Abraham believed God, and it was imputed unto him for righteousness: and he was called the Friend of God.
24 Ye see then how that by works a man is justified, and not by faith only.
In James 2:20, "faith without works is dead" does not mean that faith is dead until it produces works and then it becomes a living faith. That's like saying that a tree is dead until it produces fruit and then it becomes a living tree. James is simply saying
faith that is not accompanied by evidential works demonstrates that it’s dead. If someone merely
says-claims they have faith, but lack resulting evidential works, then they have an
empty profession of faith/dead faith and not authentic faith. (James 2:14)
James 2:21, notice that James does not say that Abraham's work of offering up Isaac resulted in God accounting Abraham as righteous. The accounting of Abraham's faith as righteousness was made in Genesis 15:6,
many years before his work of offering up Isaac recorded in Genesis 22. The work of Abraham did not have some kind of intrinsic merit to account him as righteous, but it
showed or manifested the genuineness of his faith. That is the "sense" in which Abraham was "justified by works." He was
shown to be righteous.
In James 2:22, faith made perfect or complete by works means bring to maturity, to complete like love in 1 John 4:18. It doesn't mean that Abraham was finally saved based on merits of his works after he offered up Isaac on the altar in Genesis 22. When Abraham performed the good work in Genesis 22; he
fulfilled the expectations created by the pronouncement of his faith in Genesis 15:6.
In James 2:23, the scripture was fulfilled in vindicating or demonstrating that Abraham believed God and was accounted as righteous. Abraham was
accounted as righteous based on his faith (Genesis 15:6)
not his works (Romans 4:2-3) long before he offered up Isaac on the altar in Genesis 22.
In James 2:24, James is not using the word "justified" here to mean "accounted as righteous" but is
shown to be righteous. James is discussing the
evidence of faith (
says-claims to have faith but has no works/I will show you my faith by my works - James 2:14-18) and
not the initial act of being accounted as righteous with God (Romans 4:2-3). Works bear out the justification that already came by faith.
In the Strong's Exhaustive Concordance of the Bible, the Greek word for justified "dikaioo" #1344 is:
1. to render righteous or such he ought to be
2.
to show, exhibit, evince,
one to be righteous, such as he is and wishes himself to be considered
3. to declare, pronounce, one to be just, righteous, or such as he ought to be
In Matthew 12:37, we read - "For by your words you will be
justified, and by your words you will be condemned." This is because our words (and our works) reveal the condition of our hearts. Words/works are evidences for, or against a man being in a state of righteousness.
God is said to have been
justified by those who were baptized by John the Baptist (Luke 7:29). This act pronounced or declared God to be righteous. It did not make him righteous. The basis or ground for the pronouncement was the fact that God IS righteous. Notice that the NIV reads,
“acknowledged that God's way was right..” The ESV reads, "
they declared God just.” That is the "sense" in which God was “justified.” He was
shown to be righteous.
Matthew 11:19 "The Son of Man came eating and drinking, and they say, 'Behold, a gluttonous man and a drunkard, a friend of tax-gatherers and sinners!' Yet wisdom is
justified/vindicated/shown to be right by her deeds.