
You sound very stressed right now. I'm sure your dog is picking up on this and the resulting anxiety will cause his behaviour to be affected. You need to decide if you really want this dog in your life as neither of you sound very happy.
Of course it's annoying when pets have problems, my Chow has chewed all my doors and paces and whines all night, my Doberman has incontinence and floods the floors and all the dog beds. I had to stop the medication to help her as it made her smell on heat to my entire Chow and male pug so they were marking all round the house. My cat throws up on my bed and one night even peed on my head in the middle of the night.
I love all my animals unconditionally, after all there are valid reasons for their problems whether it's anxiety, old age or stress.
I'm guessing your dog is very stressed, which can cause UTI's and also inappropriate urination. I hope you have taken a sample to the vet to rule this out. If you are unable to love your dog the way he is or are unwilling to try different things to help him (DAP, belly band) and only see years of conflict ahead it would be kinder to PTS.
Not feeling well can make it harder to cope and lead to depression so please make sure you are doing everything you can to be as healthy as possible. I have health issues too and even little things like cutting out sugar can really help my energy levels.
I hope you can find a way forward through this.