You just need to find the right fit for these dogs.
A family I know with one child, they had one from Romania. But she was so anxious and traumatised, she wasn't a "pet" dog in the typical sense. So she spent much of her time in the garden just laying by herself, wouldn't accept being walked or petted (not aggressive but would just shut down and tremble).
They took her on knowing that, the child was a pre-teen and they had other pets so this wasn't an issue of the child wanting to play with them and the dog hating it. They just made sure this dog was comfortable and had everything they needed, left them alone most of the time and lived around them. Made sure she had food and blankets and all medical stuff done of course.
One time the dog was spooked outside by something, and came inside to the kitchen to lay down close to one member of the family for comfort. No touching, but close. That was a massive milestone. It showed that this dog did in fact feel some form of safety with them.
She passed away and they were all very sad. She may not have been a typical dog pet, but she found a good fit with a family who gave her the space she needed, and she had access to warmth and shelter and food and comfort, and to some degree learned to trust this family would keep her safe.