While it is true that belief affects behavior, it is equally true that behavior affects belief. For example, the more you study evolution, the more you become aware of its scientific absurdity. But people continue to buy into it because believing they are nothing more than animals allows them to justify their own animal behavior.
Peter says, "I know you know the truth. But be careful because if you choose to live in carnality, you will eventually change your theology to justify your sin."