President Lincoln wants to preserve the union. Though he “freed the slaves” he would’ve allowed slavery to preserve the union. Which they wanted to kinda just be their own thing with slavery
God use Egypt to show the Hebrews what would happen to them if they fail to obey Him and follow His laws, without His protection they would back slide and go into servitude.