If you fail to recognize the differences in James and Paul you will err.
In the first place, for Paul Abraham’s circumcision adds nothing to the righteousness he had while uncircumcised (rom 4:9-13, please read). The justification of Abraham in James is one by works. Abraham was not justified by works in genesisb15:6. He was justified by works years later when he offered up Isaac. Failure to see this will inevitably mess up the harmony.
James does not teach that Abraham was lost and condemned before offering up Isaac. However in Paul, before justification, which I before the washing of regeneration, one IS condemned. They are lost and guilty, then justified. (Titus 3:7).
Abraham’s justification is not one of the beginning of salvation it is one of later by obedience.