“So I commend the enjoyment of life, because there is nothing better for a person under the sun than to eat and drink and be glad. Then joy will accompany them in their toil all the days of the life God has given them under the sun.” (Ecclesiastes 8:15)
The best that people of this world can do is to enjoy life as best they are able and try to be the best they can be. Then, leave the judging of themselves and others to God.
"Therefore judge nothing before the appointed time; wait until the Lord comes. He will bring to light what is hidden in darkness and will expose the motives of the heart. At that time each will receive their praise from God.” (1 Corinthians 4:5)