This can be restated to remove the abstract nouns "holiness" and "righteousness." Possible meanings are 1) we would serve God in holy and righteous ways. Alternate translation: "doing what is holy and righteous" or 2) we would be holy and righteous. Alternate translation: "being holy and righteous" (See: [[rc://en/ta/man/translate/figs-abstractnouns]])