Conduct is always consequential, but we may not agree that the consequences were fair or just.
And our ability to rationalize decisions and outcomes can make that difficult to determine sometimes. Imagine a pair of young people who have sex out of wedlock and produce a child. They might use the trope of "anytime I look at my child, I know my actions were good/worth it/etc." But to many religious denominations, they have committed a grave sin and are potentially hell-bound.
But, what if the child grows up to be a great champion of justice, and finds ways to make the world a better place... do those religious people still feel that the parents are condemned to eternal suffering for bringing that person into the world? Or do they get a pass to Heaven instead? Is either of those endings just? What would be the ultimate justice in that scenario?