Our hope is backed by the character-essence of God. That boasting moves through life, and ends up in eternity when we bow before the Lord Jesus Christ. When affliction comes along, you as a believer have two choices. David did this with Shiemi in II Sam. A perfect participle, knowing in the past and continuing to know even in the midst of problem.
Tribulation brings about perseverance, OR Affliction works endurance . . .
The standard is doctrine in your soul. This phrase specifically deals with the promises that you claim in the midst of problems and pressures that could otherwise distract you. So when affliction comes, you apply doctrine, claim a promise, use a principle of truth, this brings about perseverance OR endurance. Your endurance is the experiential proof of doctrine. Both to self and as a testimony to others.