What to do with this stupid dog?

Cassity • Laila 05/15/17, Xander 4/10/18, and Grace 11/06/2019

UPDATE: I just want to do a little update and let everyone know what we decided to do with our dog. We decided to keep him and work with him. Unfortunately we won't be spending any money on training classes because setting money aside for our baby is more important. So we ended up moving out of the trailer park 2 days after I posted this. He has improved TREMENDOUSLY. I think the trailer park may have stressed him out with all of the people and noise. As soon as we moved (and I mean the exact day) he became a happier dog. The first day he did go to the bathroom on our bed. But it was only once and that was it. He has had absolutely zero accidents. He's also stopped biting my husband and even comes running when my husband calls his name. And he does it with his tail wagging!! He likes to cuddle with my other dog and always tries to come cuddle with me. He's been such a good boy! He also hated treats before and now he'll come running for them. I know it's not like he's changed into an entire different dog but for him this change is absolutely incredible. He's currently cuddling with me in my recliner right now. Oh and I forgot he even gives kisses now which he refused to do before. He doesn't cower down and his tail is NEVER tucked anymore.. it's always wagging. I'm so glad our little boy is happier and becoming more social with us. I think we're gonna be alright 😊................................................I adopted a 3 year old chihuahua from the shelter months ago. He has been nothing but a complete asshole and Idk what to do. He has always pissed and shit on the beds and ANY type of cloth. I'm talking every single day he does this. This dog is house trained so Idk what the issue is. He also bites. He's never bitten me but he's bit my husband on several different occasions for no reason at all. And when I say bite I don't mean a little nip I mean a full on bite where you can see teeth marks and blood. He also shits when he's scared and he's scared of my husband for whatever reason so every time my husband is around he shits on the floor. And when you aren't looking he'll shit and piss on the floor even though like I said he's already trained. He likes to smear the shit into the rug too. He only shows affection (if you can even call it that) when my husband is at work so you can imagine with all of these issues..my husband doesn't like him. I'm a dog person. They're my favorite animals and I love them to death. But this dog is ridiculous. He does nothing but stress me out. We've had him for several months like five or so and I figured he'd get better when he got used to us but he's still a little asshole and I don't like him very much. Neither my husband nor I have that connection with him like we do with our other pets. My husband wants me to get rid of him very badly but Idk I feel guilty since he's been bounced around from house to house...obviously because of his stupid ass issues. I'm also pregnant and he stresses me out beyond belief which I can't imagine is good for the baby. Then I worry about after the baby's born is he gonna attack him/her? He doesn't get along with my other dog or my 2 cats. He always growls and snaps at them which is NOT allowed. And you can't even discipline him because like I said when he's scared he shits and bites. He's also taken off out the door and I had to chase him around the trailer park then when I finally caught him he tried to bite me but the way I grabbed him he couldn't turn his head enough to reach me. Idk what to do at this point. It's absolutely ridiculous and I'm seriously considering rehoming him. But Idk I don't want to abandon a dog. I've never given a dog away and I feel so guilty for even thinking about rehoming him. And I've never given up in a dog either.I've tried to give him time and see if he improves but his improvement is slim to none. I just wish he would act right because when he very rarely DOES act right he's a great dog. I really am at a loss here