I am always puzzled at the popular belief that somehow, because we started following Jesus, we are guaranteed to follow to the end. That is what we say, after all, when we consider that unless a man continues to the end, he never really started.
We are freed in Christ, but that is for good works, for this we are called. We are called to be one with God, and to do the works of the Father. There is such a fuss today the moment one talks about works, but the issue, as I see it, is not that someone does right, but that someone justifies themselves for it.
Take for example the sheep and the goats. The sheep did what is right, and did not even know it. Thus they didn't count themselves righteous, but just loved out of their heart, as the good samaritan. For this reason God had mercy on them. The goats on the other hand, did evil without knowing it, and thus tasted the second death.
The other funny thing is those can't be christian, because they don't know Christ. Notice, they are called the 'Nations'. It is the judgment of the world.
Those in Christ are judged differently. We are judged according to how we build. Yes, that assumes works. The question is by which power do we work, the Spirit or the flesh?