How did the Israelites become slaves in Egypt?

In those times, when one country conquered another, much of the able-bodied population is taken away and used as slaves.

I hope this helps.