Discernment is what gray hair means for a man, and a life without a stain is what ripeness of age is.
In context
7But the just man, even if death overtakes him early, will be at rest. 8Old age is not honored for its length of years, nor measured out by counting them. 9Discernment is what gray hair means for a man, and a life without a stain is what ripeness of age is. 10One who became pleasing to God was loved by him, and while he was living among sinners he was taken away. 11He was snatched off before evil could alter his understanding or trickery seduce his soul.