Peter reminded his readers of how sufferings fit into God's purposes to encourage them to persevere with the proper attitude (cf. James 1).
Peter concluded the body of his epistle and this section on encouragement in suffering with specific commands so his readers would understand how to live while suffering for Christ.