I think I’m losing my mind. I feel agitated and angry and Im having dirty thoughts. Is this a result of getting further away to God?

Updates
7 mo
I also work in a place loaded with politicians and men with also dirty thoughts. Do you think it’s possible that their energy is effecting me?
I think I’m losing my mind. I feel agitated and angry and Im having dirty thoughts. Is this a result of getting further away to God?
Post Opinion