It must be a real head-wrecker to go around doing the prescribed good things whilst all the while remaining unknowing that one is doing the prescribed good things in order that one can be surprised that one did the prescribed good things come the day of the sheep and goats.
One does not do the "prescribed good things" in order to pass the judgement day test. That's the fallacy of salvation by works.
One does the good things because that's the right thing to do. One does them out of one's own self-respect, not as an insurance policy for the future.
That's how I understand jar's theology.