So you do feel cognitive dissonance. I commend your honesty.
However, porn, like alcohol, or junk food, are vices. The key to retaining control is moderating yourself. You may or may not be able to do it alone, and do not hesitate to reach out to people around you. At least some, but more likely most of them are good people willing to help you get a grip on your vices.