This can be stated in active form. Alternate translation: "God will save the person who endures to the end" (See: [[rc://en/ta/man/jit/figs-activepassive]])
It is not clear whether the word "end" refers to when a person dies or when the persecution ends or the end of the age when God shows himself to be king. The main point is that they endure as long as necessary.