At Theocast, we get this question a lot: What about 2 Peter when it says that we should be confirming our calling and election by our obedience? Isn't that really a way for us to examine ourselves and find our assurance, saying, "Look, my obedience aligns with my confession?" Yes and no. That passage has probably hurt more people than it has helped. But Peter wrote it to help them—he actually wrote it to encourage them. So if you read 2 Peter 1:10 and feel discouraged, you should keep listening. That is not what was intended.
https://youtu.be/aTcFDbviAM4