Remember that you were a slave in the land of Egypt, and Yahweh your God redeemed you; that is why I am giving you this command today.
In context
13And when you release him, do not send him away empty-handed. 14Supply him generously from your flock, your threshing floor, and your winepress; give him as Yahweh your God has blessed you. 15Remember that you were a slave in the land of Egypt, and Yahweh your God redeemed you; that is why I am giving you this command today. 16But if he says to you, “I do not want to leave you,” because he loves you and your household, since he is well off with you, 17then take an awl and pierce his ear through to the door, and he will become your servant for life. Do the same for your female servant.