God knows our hearts and minds better than we know ourselves.Throughout our lives we are tested from time to time,and it is at these times of trials and testing that we show God the faith we have in Him by being obedient(1 Peter 1:3-9).
It is not a bad thing for to have God test our ways,for without it we would stay on a wrong path and may even forfeit our soul from inheriting eternity!(Psalm 11:4-7),4 The Lord is in his holy temple, the Lord’s throne is in heaven: his eyes behold, his eyelids try, the children of men. 5 The Lord trieth the righteous: but the wicked and him that loveth violence his soul hateth. 6 Upon the wicked he shall rain snares, fire and brimstone, and an horrible tempest: this shall be the portion of their cup. 7 For the righteous Lord loveth righteousness; his countenance doth behold the upright.(Psalm 66:8-12).
Daniel asked the Lord how it would be in the end of days in which the Lord replied that the wicked will continue in their wickedness,but at the same time many will be purified and tried and will understand what the wicked won’t(Daniel 12:7-10).7 And I heard the man clothed in linen, which was upon the waters of the river, when he held up his right hand and his left hand unto heaven, and sware by him that liveth for ever that it shall be for a time, times, and an half; and when he shall have accomplished to scatter the power of the holy people, all these things shall be finished. 8 And I heard, but I understood not: then said I, O my Lord, what shall be the end of these things? 9 And he said, Go thy way, Daniel: for the words are closed up and sealed till the time of the end. 10 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.