17 They finished dealing with all the men who had married foreign women by the first day of the first month.