In order to warn his fellow believers about Jews who would try to get them to follow the old laws, Paul gives his own testimony about when he persecuted believers.
Here "it" refers to Paul's writing the same things twice. Alternate translation: "doing this keeps you safe because these teachings will protect you from those who teach what is not true" (See: [[rc://en/ta/man/translate/figs-explicit]])