Shelter dogs tend to be better than bred dogs, on average, because they've seen what a shitty life can be like and are infinitely grateful for saving them from it. Bred dogs have a higher chance of being neurotic or have health problems.
What do you base this on? Can you provide unbiased research?
I am all about shelter dogs but I do not believe that they are better behaved because of their experiences.