This verse in the 7th chapter of Ecclesiastes makes it clear that there isn't a just or righteous person on the face of the earth. All have sinned; therefore to stand before God after you die you need to be clothed with righteousness and that only comes with repentant faith in Jesus Christ.