You’re conflating spanking with being well raised. It is a common enough error. The spanking didn’t help. What made the difference were loving, devoted parents who did a lot of very positive things in your life. Don’t confuse the two.
No confusion, period. My parents loved me and disciplined me by spanking when necessary. It all fit together as one.