Disciplining your child, in an ideal world should not be inflicting pain, but taking privileges away or giving them work to do.
I would much rather cut down trees for 3 hours than be hit with a belt/paddle again. My dad whipping me made me seethe with anger, resentment and cry. These are emotions you shouldn’t feel towards your parents, and it’s why I don’t have a relationship with him today.
When you give the child work to do as punishment, ideally, it teaches them how to do that work later on in life. Such as replacing a toilet, window, sink that they broke. Of course, you would know how to do it so you can guide the child to fix it.
If your child truly respects who you are as their parent, your words/actions should be enough of a deterrent from bad behavior. I, however, am not against spanking your child. If that’s how you get your point across, good for you.