You have Eph 2 out of context. James said that his faith came out of his works. If his faith came out of his works they cannot be a product of it.
Works are the fruit of faith and not the other way around. In James 2:14, we read of one who "says" he has faith but has "no" works. This is not genuine faith, but a "bare profession of faith." So when James asks, "Can that faith save him?" he is saying nothing against genuine faith, but only against an "empty profession of faith." James does not teach that we are saved "by" works. His concern is to SHOW the reality of the faith professed by the individual (James 2:18) and demonstrate that the faith claimed (James 2:14) by the individual is genuine.
A dead faith does not produce works in order to become a living faith, but because it's a living faith; just as a dead tree does not produce fruit in order to become a living tree, but because it's living tree. We must not put the cart before the horse.
please define Pisteuo.
The greek word pisteuō Strong's #4100 with Vines is defined - To think to be true, to be persuaded of, to credit, place confidence in of the thing believed, have confidence in a moral or religious reference used in the NT of the conviction and trust to which a man is impelled by a certain inner and higher prerogative and law of soul to trust in Jesus or God as able to aid either in obtaining or in doing something: saving faith) mere acknowledgment of some fact or event: intellectual faith, to entrust a thing to one, his fidelity to be intrusted with a thing.
To have faith (in, upon, or with respect to, a person or thing), that is, credit; by implication to entrust (especially one’s spiritual well being to Christ).
The word "believe" can describe mere mental assent belief, as in (James 2:19), or also include "trust and reliance" in Christ for salvation, as in (Acts 10:43; 16:31).