We had a dog for 6 months when my youngest was 3. She was a rescue, about 3 years old. She changed me and made me hate my entire life and think if walking away and never coming back - something that 3 children never came close to doing. If I went out briefly I wouldn't want to return to the house, but would know I was duty bound to.
I became so angry but had to swallow it - can't shout at kids, can't shout at dog... I realised something had to changed when I slammed the front door so hard I managed to shatter the safety glass 
We had taken her to training classes and had all sorts of attempted help but she had separation anxiety and barked a lot - my previously independent older children had begun to refuse to go downstairs on their own because she'd bark at them unless I was with them. She would also bark at any visitors and keep barking when shut into any room I wasn't in, and got upset if I paid more attention to my 3 year old than her, and followed me everywhere.
I just couldn't stand it. 3 to of course loved her and older children claimed to, though actually they were wary.
During the time we had her I managed to sort her physical health issues and get her up to the weight she should have been, and find the right food to suit her sensitive stomach, but she made our lives unbearable and in the end I handed her back to the rescue.
Never again. It was awful. The worst six months of my life and left us worse than before we had her. We thought for a long time about getting adog, and what dog and how, and sought help etc. but it was a disaster.
Don't feel bad if you have to rehome OP - better that than walking out on the whole lot (house, child, dog) which is what I was fantasising about doing in order to avoid the terrible admission of failure that giving the dog back seemed to be!
I sometimes muse about getting a cat as they are usually more independent and independent is appealing... But some of them aren't, and I can't risk it, so we stick to our lovely elderly rabbits and fish now!