When there is a reference to the bible in a text, we call that "biblical allusion".
When an author hints at future events in the book, we call that
Imported from external platform