The Old Covenant was made between God and the Israelites after the Exodus from Egypt at Mount Sinai. Only the Israelites were under the Old Covenant, not all of humanity or those who lived before the Exodus like Adam and Noah. The dead are also not under the Old Covenant as it only has authority over the living.