A selection of verses showing that there will be consequences if we ignore what God says.
The early Israelites are told the results of both obeying and disobeying God:
26 Behold, I set before you today a blessing and a curse: 27 the blessing, if you listen to the commandments of the LORD your God, which I command you today; 28 and the curse, if you do not listen to the commandments of the LORD your God, but turn away out of the way which I command you today, to go after other gods which you have not known.
Isaiah later tells the Israelites the consequences of disobeying God:
20 but if you refuse and rebel, you will be devoured with the sword;
for the mouth of the LORD has spoken it.”
The apostle Paul spells out the consequences of ignoring God:
18 For the wrath of God is revealed from heaven against all ungodliness and unrighteousness of men who suppress the truth in unrighteousness,
He points out the results of rejecting God's truth:
24 Therefore God also gave them up in the lusts of their hearts to uncleanness, that their bodies should be dishonoured amongst themselves; 25 who exchanged the truth of God for a lie, and worshipped and served the creature rather than the Creator, who is blessed forever. Amen.
26 For this reason, God gave them up to vile passions. For their women changed the natural function into that which is against nature. 27 Likewise also the men, leaving the natural function of the woman, burnt in their lust towards one another, men doing what is inappropriate with men, and receiving in themselves the due penalty of their error. 28 Even as they refused to have God in their knowledge, God gave them up to a reprobate mind, to do those things which are not fitting; 29 being filled with all unrighteousness, sexual immorality, wickedness, covetousness, malice; full of envy, murder, strife, deceit, evil habits, secret slanderers, 30 backbiters, hateful to God, insolent, arrogant, boastful, inventors of evil things, disobedient to parents, 31 without understanding, covenant breakers, without natural affection, unforgiving, unmerciful; 32 who, knowing the ordinance of God, that those who practise such things are worthy of death, not only do the same, but also approve of those who practise them.
These chapters have links to this theme: