People will judge your parenting
No matter how you choose to raise your kid or kids. Someone will always put in their two cents. They will tell you you’re doing this or that wrong. They’ll tell you you’re selfish if you and your partner do a quickie and lock the door. They’ll judge you for using formula instead of breastfeeding or the opposite. They’ll judge how you choose to discipline your kid. If spanking works for you and your kid then go for it(meaning if it’s correcting their behavior and you only have to do it a few times. Not using excessive force in anger)If you don’t spank your kid and another discipline works then go for it. I hate seeing all the parent shaming as it is ridiculous.
At the end of the day you didn’t push their kid out your crotch so your opinions on how they parent is really none of your business.