God tested Abraham's faith by commanding him to sacrifice his son Isaac. Abraham obeyed God and was prepared to sacrifice Isaac, showing his complete trust and faith in God. When Abraham demonstrated his obedience, God stopped him from sacrificing Isaac and blessed Abraham for passing the test by not withholding his son. God tests people's faith to reveal what is truly in their hearts and to strengthen their faith and trust in Him.