The concern about, and the "why" of God's wrath, is continually before mankind that believe in an almighty God. And we find that they tend to believe that most all destruction and affliction are caused by an angry God. Therefore there is a continual questioning of those things.
This seemed to be the concern of Abraham when he asked, "wilt thou also destroy the righteous with the wicked?.... Shall not the Judge of all the earth do right?" (Genesis 18:23,25).
God's anger had been kindled by the people of Sodom and Gomorrah because of their unrighteous acts. They were desirous of sexual gratification with their own sex. They were guilty of homosexuality, which is an abomination in the sight of God. I believe this is the same thing that caused men to grieve God's heart, and bring His wrath down upon them when He destroyed the earth, and all that was upon the earth, that had the breath of life in it, having polluted themselves and the earth. Thus, He would now destroy these by bringing down fire and brimstone from heaven. Hear God's answer unto Abraham: "I will not destroy it for ten's sake." (Genesis 18:32) By this, we know that if there had been ten righteous souls found therein, God would not have destroyed, but would have spared both of those great cities, Because He did not find them, His anger became hot, and none was spared, except Lot and his two daughters, who were led out before the destruction.
At this time, God had not yet established His nation (Israel) on the earth, nor had He given any law governing the actions of men. Therefore, we can be assured that homosexuality was contrary to the very nature in which God had created man; thus being an abominable act unto their Creator. Later, we find that God did give commandments unto His chosen people against the lusts of the flesh (See Leviticus 18:6- 20). Then, we read "Thou shalt not lie with mankind, as with womankind: it is abomination." (Leviticus 18:22.)
This, and the other acts of fleshly lust, as taught therein, will defile the persons committing them; also causing the land upon which they dwell to be defiled. Thus God has said, "And the land is defiled: therefore I do visit the iniquity thereof upon it, and the land itself vomiteth out her inhabitants. Ye shall therefore keep my statutes and my judgments, and shall not commit any of these abominations." (Leviticus 18:25,26).
When God made the covenant with Noah that He would not destroy anymore every living thing because of man's evil heart, nor destroy the earth, He did not give them leeway to return to their evil and sinful ways! The lust of the flesh remains an abomination unto Him! Therefore, we should study these commandments in Leviticus 18, and adhere unto them; knowing that by committing them we will kindle God's anger. And when the land has become corrupted, His anger will be such that it will cause Him to act upon it. Be assured that all life was destroyed in Sodom and Gommorrah, and the plain thereof. God's anger is just; yet we see how He is merciful, and will do right: not destroying, if but ten righteous souls could have been found among that great host of people.
Although this example of God's anger is one of the most dramatic, and involves all mankind/womankind, it does not give full understanding of God's anger, nor His longsuffering. A continuing search leads us to that time when God heard the groanings of His chosen people (Israel), and remembered His covenant with their fathers: when the angel of God appeared unto Moses in a flame of fire out of the midst of a bush, when the Lord God called unto him from that bush. God told Moses to go unto the Pharaoh, and tell him to let My people go! In this, we see Moses being defiant and argumentative with God, which angered God (Study Exodus 3 and 4.) Yet we see the patient (long suffering) God; in that He showed Moses signs of His power, and assuring him of His ability to provide all that was needed. Even then, Moses remained defiant, saying, "O my Lord, send, I pray thee, by the hand of him whom thou wilt send" (Exodus 4:13). This caused God's anger to be kindled, and he said unto Moses, "Is not Aaron the Levite thy brother? I know that he can speak well" (Exdous 4:14). Thus God appeased Moses, and did not act upon His anger and destroy him. It is as the Psalmist has said, "The Lord is merciful and gracious, slow to anger, and plenteous in mercy. He will not always chide: neither will he keep his anger forever." (Psalm 103:8,9). Thus at this time, Moses had received mercy from the just God.
In this we also see the disobedience of Pharaoh unto God's will. And this disobedience was not allowed to continue without the very wrath of God being brought down on him. The Psalmist spoke of it in this way, "He cast upon them the fierceness of his anger, wrath, and indignation, and trouble, by sending evil among them. He made a way to his anger: He spared not their soul from death, but gave their life over to the pestilence; And smote all the first born in Egypt; the chief of their strength in the tabernacles of Ham."(Psalm 78:49-51.)
God is purposeful: in anger, and in mercy, doing His will, according as He has purposed. Yet He is found to be long-suffering in all of these! Therefore the children of God (Israel) were allowed to be led out of Egypt, and the Egyptians who pursued were destroyed.
These same people, Israel, whom God had delivered from Egyptian bondage, had been out but one month and fifteen days when they turned against Moses and Aaron because of their lack of food. And God provided them bread. Shortly thereafter, they again were found questioning why they had been led out to die; having become thirsty. And God provided them water. After being in the wilderness for three months, they were camped before the Mt. Sinai, where God had called Moses up into it. And while he was therein, they complained unto Aaron, saying, "Make us gods, which shall go before us" (Exodus 32:1). And Aaron did make an idol in the form of a calf, and offered the Lord's portion unto it. In this they had surely tried a longsuffering God. For He had not been wroth with their complaining, and their desiring even that they should have stayed in bondage where they were given food and drink; saying that surely they had been led out to die. But turning from Him, and giving His portion unto other people, and, "behold, it is a stiffnecked people. Now therefore let me alone, that my wrath may wax hot against them, and that I may consume them: and I will make of thee a great nation." (Exodus 32:9,10). So again Moses questions God, asking, Will you destroy the very people that you have brought out with great power, and with a mighty hand?" He went on to say, "Wherefore should the Egyptians speak, and say, For mischief did he bring them out,... to consume them from the face of the earth?" Moses continued pleading with God by saying, "Turn from thy fierce wrath, and repent of this evil against thy people." (Exodus 32:12). Thus the Lord God did repent, and did not that evil (destruction) he thought to do unto His people. And Moses went down to them and spoke unto them, instructing them to follow their Lord God. But some refused, and would not turn back to God; so the sword was put to those: about 3,000 men fell before it. Thus it is recorded in the word. "And Israel joined himself unto Baal-peor: and the anger of the Lord was kindled against Israel. And the Lord said unto Moses, Take all the heads of the people, and hang them up before the Lord against the sun, that the fierce anger of the Lord may be turned away from Israel." (Numbers 25:3,4). In this, we again see the longsuffering, and the mercy of our Lord God toward His people; yet He will not allow what is His to be bestowed upon another. His anger is fierce when His chosen turn to other gods; saying, "Thou shalt not bow down thyself to them, nor serve them: for I the Lord thy God am a jealous God, visiting the iniquity of the fathers upon the children unto the third and fourth generation of them that hate me; and shewing mercy unto thousands of them that love me, and keep my commandments." (Exodus 20:5,6) And we have seen where He is merciful unto those that will turn when His servant intervenes in their behalf. Such was the case of the city of Nineveh, when Jonah preached repentance unto them: even though Jonah evidently would have liked to have seen them destroyed.
It is recorded, many times, of Israel's turning away from following the teachings of God, and how, in His anger, He turns His back to them, allowing them to be overthrown, and taken into bona-age. Also recorded is that each time they turned unto Him asking for mercy, He would be their protector, as long as they followed His commandments.
Consider the case of the sons of Eli, who were of the priesthood, but knew not God, being of Belial. Therefore God spake, saying, "I said indeed that thy house, and the house of thy father, should walk before me for ever: but now the Lord saith, Be it far from me; for them that honor me I will honor, and they that despise me shall be lightly esteemed." (I Samuel 2:30).
In all these, we see how the wrath of God is provoked by those He has chosen: by their turning unto other gods and giving them honor that is rightly God's. To avoid the anger of God, we must follow His teachings, having no other gods before Him, giving all honor unto Him, taking none unto ourselves!
"Sing unto the Lord, O ye saints of his, and give thanks at the remembrance of his holiness. For his anger endureth but a moment; in his favour is life: weeping may endure for a night, but joy cometh in the morning." (Psalm 30:4,5). The Psalmist, speaking of Israel and their disobedience said, "Therefore their days did he consume in vanity, and their years in trouble. When he slew them, then they sought him: and they returned and enquired early after God. And they remembered that God was their rock, and the high God their redeemer. Nevertheless they did flatter him with their mouth, and they lied unto him with their tongues." (Psalm 78:33-36). "For their heart was not right with him, neither were they stedfast in his covenant. But he, being full of compassion, forgave their iniquity, and destroyed them not: yea, many a time turned he his anger away, and did not stir up all his wrath. For he remembered that they were but flesh; a wind that passeth away, and cometh not again." (Psalm 78:37-39). Thus It is written, "For my name's sake will I defer mine anger, and for my praise will I refrain for thee, that I cut thee not off." (Isaiah 48:9).
But we do know that the nation of Israel was destroyed, being overthrown by other nations and scattered throughout the earth. All because they did kindle the anger of God. So it is written, "Thou hast called as in a solemn day my terrors round about, so that in the day of the Lord's anger none escaped nor remained: those that I have swaddled and brought up hath mine enemy consumed." (Lamentations 2:22). To disobey God kindles His anger; to continue therein provokes his wrath. "FOR THE WRATH OF GOD IS REVEALED FROM HEAVEN AGAINST ALL UNGODLINESS AND UNRIGHTEOUSNESS OF MEN, WHO HOLD THE TRUTH IN UNRIGHTEOUSNESS." (Romans 1:18). Yet, as He has said for His name's sake He will not cut off nor forget His chosen people! For it is written, "God hath not cast away his people which he foreknew." (Romans 11:2).
What then should we conclude concerning God's anger? Was He angry with Adam when He sent him from the garden? Was He angry with the Caananites when he gave Israel Power to destroy them? It is not so stated.
Does he condemn some to an eternal hell out of anger? I think not. Therefore we conclude that God's anger is kindled by all mankind who do that which is an abomination unto Him. And those chosen to be His children will kindle His anger when they do not follow his commandments. God acts upon His anger in a manner that effects their natural life here on earth, even to total destruction of the life. Nevertheless, He does not make an eternal judgment based upon this anger. That judgment came through the fall of man when Adam disobeyed a commandment of God. Mankind is evil (destructive) and is destroying himself and the earth which God has given unto him. While God is not to be rightly blamed for the eternal destruction of the unregenerate, He is to be credited for the salvation of His chosen people.