Luther taught that salvation and subsequently eternal life is not earned by good deeds but is received only as a free gift of God's grace through faith in Jesus Christ as redeemer from sin.
What did Martin Luther believe achieved God's Grace?
faith in Jesus Christ