What spiritual practices help replace the urge to watch porn with devotion to God?

Lately, I've been struggling with porn addiction and it's been hard to break free from those urges. I find myself seeking more meaningful connections and a deeper relationship with God. What spiritual practices have you found helpful in diverting your attention from porn to devotion?

I've tried prayer and reading scripture, but I sometimes feel my mind wandering. Meditation and journaling seem to help too, but I wonder if there are others here who have experienced similar battles. How did you find strength in your faith during those moments of temptation? Let's share our journeys and support one another!