Jesus’ Return

Why does one still need to receive trials and refinements apart from God’s judgment and chastisement while believing in God?

Bible Reference: “And he said, Go your way, Daniel: for the words are closed up and sealed till the time of the end. Many shall be purified, and made white, and tried; but the wicked shall do wickedly: and none of the wicked shall understand; but the wise shall understand.”..