وَالْأَعْمَالُ بِالْخَوَاتِيمِ
Deeds are evaluated by their endings.
The earlier or middle part of a life cannot establish a person's final condition with certainty. The closing phase may prove decisive, so current outward conduct does not furnish infallible knowledge of the person's ultimate destiny.