In Genesis 19: 20-21 God told Abraham “Because the outcry against Sodom and Gomorrah is great and their sin is very grave, I will go down to see whether they have done altogether according to the outcry that has come to me. And if not, I will know.”
God was assessing the time of judgment for them. God let Abraham, a righteous man, know this plan beforehand.
In Genesis 18:26 God said to Abraham that he would spare Sodom if there were 50 righteous people in that city. He made his plans clear to the Abraham.
God makes clear his plan for the human race if we would only read his bible. He will let us escape the devastating time of the Tribulation. He will save us from our sin and let us live.
So would the Lord Jesus not also share his plan with the righteous, that he would destroy the world and spare the righteous by making sure he raptures us out to escape the Tribulation?