Sorry to say
But this is why every dog or cat I ever chose has been female.
Had a few male pets, but only because they chose me and I hardly had anything to say about it. Such as the finest Dobie-Rott in the world; I think he probably was an escapee because although we found him on the highway, several men had already gathered around and were trying to catch him. Those group members who've been around awhile might remember Swee'Pea's story. Funny how afterwards my husband and son were the only males he'd tolerate, and I suspect he didn't mind them because he knew they were mine.
RIP, my dear one.
PS: I forgot to mention a good cure/deterrent: roasted coffee beans. One time I moved to a place where I didn't know the previous owners didn't let their dog out often enough, but MY dogs found the spot next to the door fast enough and started to refresh it. No matter if they'd just come in. So after the usual enzyme treatments, etc. didn't stop them, I pulled up the carpet and scattered a whole pound of coffee beans around, then laid the carpet back over them. No more problems ever after that.