Egypt was one of the nations that God had judged, but the people of Jerusalem decided to make a pact with them anyway. The people continue to turn to sources other than God for protection and help. God condemns them in chapter 31 and 32. It is God who should defend his people, not Egypt.
This blog was originally written by Pastor Doug Bartel of Hillcrest Church, starting in Spring 2009. Keep that in mind if you read anything that doesn't quite add up to the time of year.