“Let him turn away from wickedness and shun it, and let him do right. Let him search for peace – harmony, undisturbedness from fears, agitating passions, and moral conflicts – and seek it eagerly. Don’t merely desire peaceful relations with God, your fellowman, and with yourself, but pursue and go after them!” 1 Peter 3:11 Amplified
A lot of people may not be reading this because the first line in this verse tells them to turn away from wickedness and do right. A lot of people don’t want to give up their bad habits and poor choices, but that’s the way you obtain peace.
Once you turn from sin and to God, and do what’s pleasing to Him you will receive peace.
It’s that simple.