Maktub is an Arabic word that means "destiny," which is interpreted as something that is predestined to happen.
This term comes from the Arabic word Kitab, which means "book." That is, when someone says Maktub, it refers to something that was already written.