Ezekiel 17:13-19

ISV(i) 13 Then he took one of the royal descendants, made a covenant with him, and put him under an oath of loyalty, taking the leaders of the land captive 14 in order to humiliate the kingdom so it wouldn’t be able to return to power, but would still be able to continue as long as he keeps his covenant. 15 But he rebelled against the king of Babylon by sending his messengers to Egypt to obtain horses and a large army. Will he succeed? Or will the one who did this escape? Will he break the covenant, but still be delivered?’”
16 God will Punish the King“As long as I live,” declares the Lord GOD, “in Babylon, that place where the king has enthroned him, whose oath he despised so as to break his covenant, he’ll die with him. 17 Pharaoh, with his massive army and large battalions won’t protect him when mounds and siege walls are built to destroy many people. 18 He despised the oath he had made and broke the covenant. Look! Because he willingly submitted, yet he has done all these things, he won’t escape.
19 Therefore, this is what the Lord GOD says, “As long as I live, because he despised my oath and broke my covenant, he’s going to suffer the consequences.