This statement is hypothetical. Peter is saying that it is sometimes God's will that his people suffer, but it is not always God's will. (See: :en:ta:vol1:translate:figs_hypo)