Is it okay to hit children when they misbehave?

I am Asian and Asian parents tend to be cruel sometimes. My parents use wood or hanger or straight up beat me whenever I made a mistake even a small mistake.
Is it okay to hit children when they misbehave?
Post Opinion