How should the promise attached to righteous works be related to major sins?

Intercession for Major Sinners and the Non-Eternity of Sinful Believers in Hell