Christ also answers the question in these passages:
John 14:15
Matt 19:16-17
Matt 10:22
Matt 24:13
Mark 8:35
Matt 7:21 - not everyone saying “Lord, Lord” will inherit the kingdom of heaven
Matt 24:13 - those who persevere to the end will be saved
Your argument is with Jesus not me. Its Him who answered the question when asked. BTW None of those verses you listed change or counter His answer when asked what are works.