These two phrases share similar meanings and are used together for emphasis. Here "word" refers to the covenant. AT: "Keep his covenant in mind forever, the promise that he made for a thousand generations" (See: [[rc://en/ta/man/translate/figs-parallelism]] and [[rc://en/ta/man/translate/figs-metonymy]])