E
Somebody here mentioned that God tested Abraham's faith by asking him to sacrifice his only son. If that's not by works, I don't know what is.
God did not test Abraham so God could know, he did it for abrahams benefit.
I hope you dcan not think God is s weak he can not know whose faith is real or not, he nds t test it!