2 Chronicles 19:2

19:2 the prophet Jehu son of Hanani confronted him; he said to King Jehoshaphat, “Is it right to help the wicked and be an ally of those who oppose the Lord? Because you have done this the Lord is angry with you!

Isaiah 31:1

Egypt Will Disappoint

31:1 Those who go down to Egypt for help are as good as dead,

those who rely on war horses,

and trust in Egypt’s many chariots

and in their many, many horsemen.

But they do not rely on the Holy One of Israel

and do not seek help from the Lord.