Joshua 7:12

And therefore the children of Israel cannot stand before their enemies. They shall turn their backs before their enemies, because they be excommunicate. Neither will I be with you any more, except ye destroy the excommunicate from among you.

Numbers 14:45

Then the Amalekites and the Canaanites which dwelt in that hill, came down and smote them and hewed them: even unto Hormah.

Joshua 6:18

And in any wise beware of the excommunicate things, lest ye make yourselves excommunicate. For if you take of the excommunicate things, so shall you make the host of Israel excommunicate and shall trouble it.

Judges 2:14

Wherefore the LORD waxed angry with Israel, and delivered them unto the hands of raveners to spoil them and sold them into the hands of their enemies round about them, so that they had no power any longer to stand before their enemies.

Deuteronomy 7:26

Bring not therefore the Abomination to thine house, lest thou be a damned thing as it is: but utterly defy it and abhor it, for it is a thing that must be destroyed.

Joshua 22:18-20

But that ye also should turn away this day from following the LORD: ye shall rebel today against the LORD, and tomorrow he shall be wroth with all the congregation.

Judges 2:4

And when the angel of the LORD had spoken these words unto all the children of Israel, the people cried out and wept.

Psalm 5:4-5

For thou art the God that hast no pleasure in wickedness; neither shall any evil dwell with thee.

Proverbs 28:1

The ungodly fleeth, no man chasing him; but the righteous standeth stiff as a lion.

Isaiah 59:2

But your misdeeds have separated you from your God, and your sins hide his face from you, that he heareth you not.

Jeremiah 6:8

Amend thee, O Jerusalem, lest I withdraw my heart from thee, and make thee desolate: and thy land also, that no man dwell in it."

Jeremiah 23:33

If this people, either any prophet or priest ask thee, and say, 'What is the burden of the LORD?' Thou shalt say unto them, 'What burden? I will cast you from me, sayeth the LORD, because ye yourselves are a burden.'

Hosea 9:12

And though they bring up any, yet will I make them childless among men. Yea, woe shall come to them, when I depart from them.

Habakkuk 1:13

Thine eyes are clean, thou mayest not see evil, thou cannot behold the thing that is wicked. Wherefore then doest thou look upon the ungodly, and holdest thy tongue, when the wicked devoureth the man that is better than himself?

Haggai 2:13-14

Then said Haggai, "Now if one being defiled with a dead carcass, touch any of these: shall it also be unclean?"

Treasury of Scripture Knowledge

Summary

Therefore the children of Israel could not stand before their enemies, but turned their backs before their enemies, because they were accursed: neither will I be with you any more, except ye destroy the accursed from among you.

Bible References

The children

Joshua 22:18
But that ye also should turn away this day from following the LORD: ye shall rebel today against the LORD, and tomorrow he shall be wroth with all the congregation.
Numbers 14:45
Then the Amalekites and the Canaanites which dwelt in that hill, came down and smote them and hewed them: even unto Hormah.
Judges 2:4
And when the angel of the LORD had spoken these words unto all the children of Israel, the people cried out and wept.
Psalm 5:4
For thou art the God that hast no pleasure in wickedness; neither shall any evil dwell with thee.
Proverbs 28:1
The ungodly fleeth, no man chasing him; but the righteous standeth stiff as a lion.
Isaiah 59:2
But your misdeeds have separated you from your God, and your sins hide his face from you, that he heareth you not.
Habakkuk 1:13
Thine eyes are clean, thou mayest not see evil, thou cannot behold the thing that is wicked. Wherefore then doest thou look upon the ungodly, and holdest thy tongue, when the wicked devoureth the man that is better than himself?

They were

Joshua 6:18
And in any wise beware of the excommunicate things, lest ye make yourselves excommunicate. For if you take of the excommunicate things, so shall you make the host of Israel excommunicate and shall trouble it.
Deuteronomy 7:26
Bring not therefore the Abomination to thine house, lest thou be a damned thing as it is: but utterly defy it and abhor it, for it is a thing that must be destroyed.
Haggai 2:13
Then said Haggai, "Now if one being defiled with a dead carcass, touch any of these: shall it also be unclean?"

Neither

Jeremiah 6:8
Amend thee, O Jerusalem, lest I withdraw my heart from thee, and make thee desolate: and thy land also, that no man dwell in it."
Jeremiah 23:33
If this people, either any prophet or priest ask thee, and say, 'What is the burden of the LORD?' Thou shalt say unto them, 'What burden? I will cast you from me, sayeth the LORD, because ye yourselves are a burden.'
Hosea 9:12
And though they bring up any, yet will I make them childless among men. Yea, woe shall come to them, when I depart from them.

General references

Numbers 14:42
go not up, for the LORD is not among you; that ye be not slain before your enemies.
Deuteronomy 23:9
When thou goest out with the host against thine enemies, keep thee from all wickedness; for the Lord is among you.
Psalm 106:30
Then stood up Phinehas, and executed justice; and so the plague ceased.
Malachi 3:9
Therefore are ye cursed with penury, because ye dissemble with me, all the sort of you.