What I've stated is that God raises these wicked people up to bring His people back
Jdg 3:2 It was only in order that the generations of the people of Israel might know war, to teach war to those who had not known it before.
Jdg 3:3 These are the nations: the five lords of the Philistines and all the Canaanites and the Sidonians and the Hivites who lived on Mount Lebanon, from Mount Baal-hermon as far as Lebo-hamath.
Jdg 3:4 They were for the testing of Israel, to know whether Israel would obey the commandments of the LORD, which he commanded their fathers by the hand of Moses.
I'm always amazed at how clearly God can write His text and yet we simply ignore what He has written.