Divine knowledge includes the number entering Paradise and Hell, each person's deeds, and their final outcome. The person performs deeds in earthly life, and the outcome is manifested at life's end.
Each person's course of action is made accessible, so the command to act remains meaningful. Deeds are judged by their endings, so a temporary outward condition cannot establish final felicity or wretchedness with certainty.