Isaac was forty years old when he took Rebekah as his wife. We see later that Esau married at 40 too.