4 If the slave's master gives him a wife, and she gives birth to sons or daughters, the woman and her children will belong to the master. When the slave is set free, only he may leave.