The elect are in Christ before they believe, before they're born even. They were chosen in Him before the foundation and accepted in Him Eph 1:4,6 they were also in Him when He died, buried, risen again Eph 2:6 before they believed, so
they had righteousness imputed before they believed