Of course, you and I don't know which people are saved, and which aren't, or exactly what kind of law-breaking any person or group of people are guilty of, or not guilty of. (Only God knows those things.) However, in that biblical passage, Jesus, of course, wasn't talking about them keeping the law their entire life. He's obviously referring there to someone who has already sinned (because he was specifically addressing those whose "eyes had already offended them"), and he was telling them to radically get rid of their "offending eye". What, exactly, is your interpretation of Jesus essentially saying there in Matthew 5:29 (as I see it), that they should stop their "eye-related offenses" (by, figuratively, "pulling their sinful eye out"), in order to avoid hell? Do you believe it is possible for a person to keep God's law going forward, with the help of the grace of God? Do you believe it is possible to reduce temptations in your life, by avoiding activities or places (eye-related, or otherwise) that you know to be tempting to you?
Try to place the teaching from Jesus nto the context of before the Cross or after The Cross. Big hnt: Did any Hebrew / Israelite gain salvation by keepng the law their entire life?
Another big hint: What did Jesus tell His audience was the work God requires as found in John 6? And contrast that, if you wish, with what He told His Apostles to do AFTER His Resurrection?