Faith is necessary for salvation, but it in no way earns salvation. If it did, we would have a ground to boast, but let no man glory in anything save the cross of Christ.
Salvation is by Grace, through faith. And the only work that earns or merits salvation is the Work that Christ has done.