There are two Bible verses that I recently read about this matter:
Proverbs 19:18 says "discipline your sone, for there is hope; do not set your heart on puttnf him to death
Proverbs 23:13 says
"Do not withhold discipline from a child; if you strike him with a rod, he will not die."
So it'd be against my religion not to spank my children.