Only God will judge persons in the end, and, as you point out, only God knows a person's heart.
Ngokuba ukwahlulela kukaNkulunkulu kuyophela ngaphambi kokuba umuntu abone izibonakaliso, lapho kukhona ukuvezwa kweqiniso kuphela.