You ALMOST have the right idea there. But not quite. You are supposed to compare scripture to scripture. You aren't supposed to count verses [but 2 Peter 1:20 does give you a warning about hanging all your laundry on just one hook.]
What Jesus was talking about was the "fruit" not the "root" of their salvation. It's a vital point. I use the word "vital" purposefully because it is a matter of life or death for you.
The "good works" are not the justification for their entrance into the kingdom, but instead, evidence of God's grace in their lives. They are the objective criteria for judgment, because they are the evidence of saving faith.
If you compare scripture with scripture, you will find no contradictions. Here, Jesus is not contradicting what He says elsewhere (through inspiration) when Paul, or Peter, or James (or any other writer writes.)
John 1:14 - Jesus is the Word
2 Tim 3:16 - All Scripture is "God-breathed" (given by inspiration)
.
You say, I don`t know what scriptures the Catholics use to support works-based salvation (my words at the end there). Maybe you should! Otherwise, maybe you should take it upon yourself to study God's Word. See what it says for itself. Learn to "rightly divide" what it says (2 Tim 2:15) so that you can "present yourself approved by God."
That's a good thing: "approved by God."
Right?
Right?
You are supposed to compare scripture to scripture.
You are supposed to compare scripture to scripture.>>>>>>>>>
The complete chapter of Luke 6 is summarized in Matthew 25:31-46 which is where faith is shown by the works which are the good fruits Luke 6:43 and 44.