The evidence is strong enough to say this:
A 2021 study specifically looking at "corporal punishment" (spanking) without more severe forms of maltreatment found: spanking lupus link
This article explores that link, moving from correlation to biological plausibility, to answer the question: The evidence is strong enough to say this: