You've got it backwards.
Grace is given when someone has faith, "by grace through faith," not "faith via grace," not because their faith demands it, but because God, in the interest of maintaining His righteous character, when He said He would give grace to those who have faith, will keep His...