1340, "to come to harm, perish;" of persons, "to die," of objects, "to be lost or destroyed," from
mis- (1) "wrongly" +
caryen "carry" (see
carry). Meaning "deliver unviable fetus" first recorded 1527; that of "fail, come to naught" (of plans or designs) is from 1607.
Miscarriage is attested from 1662;
miscarriage of justice is from 1875.