God destroyed Sodom and Gomorrah because of the ungodliness of the people living in Sodom and Gomorrah. (Gen 19:27-28)

Gen 19:27 And Abraham gat up early in the morning to the place where he stood before the Lord: 28 And he looked toward Sodom and Gomorrah, and toward all the land of the plain, and beheld, and, lo, the smoke of the country went up as the smoke of a furnace.

If we do not accept Jesus as the Christ, we will be judged like the land of Sodom and Gomorrah. (Matthew 10:14-15)

Matthew 10:14 And whosoever shall not receive you, nor hear your words, when ye depart out of that house or city, shake off the dust of your feet. 15 Verily I say unto you, It shall be more tolerable for the land of Sodom and Gomorrha in the day of judgment, than for that city.

If Jesus had shown his power in Sodom, the people of Sodom would have believed in Jesus as the Christ. However, in this age, people do not believe in Jesus as the Christ. So this age will be judged. (Mt 11:23-24)

Mt 11:23 And thou, Capernaum, which art exalted unto heaven, shalt be brought down to hell: for if the mighty works, which have been done in thee, had been done in Sodom, it would have remained until this day. 24 But I say unto you, That it shall be more tolerable for the land of Sodom in the day of judgment, than for thee.

After all, among the Israelites, only the remnant of Israel will believe in Jesus as the Christ. (Romans 9:27-29)

Romans 9:27 Esaias also crieth concerning Israel, Though the number of the children of Israel be as the sand of the sea, a remnant shall be saved: 28 For he will finish the work, and cut it short in righteousness: because a short work will the Lord make upon the earth. 29 And as Esaias said before, Except the Lord of Sabaoth had left us a seed, we had been as Sodoma, and been made like unto Gomorrha.

After seeing the destruction of Sodom and Gomorrah, we must wake up and firmly believe in Jesus as the Christ. (2 Peter 2:6)

2 Peter 2:6 And turning the cities of Sodom and Gomorrha into ashes condemned them with an overthrow, making them an ensample unto those that after should live ungodly;