Confused.

Someone disagreed with my mentality of ‘spare the rod and spoil the child’. That’s fine and all, but did he really compare a parent spanking their child as punishment to being the same as a husband beating his wife as punishment?? Wait, what? Am I missing something?? Explain?