The words "the promise came" are understood from the first phrase. You can translate this by adding these implied words. Alternate translation: "law, but the promise came through faith, which God considers as righteousness" (See: [[rc://en/ta/man/jit/figs-ellipsis]])