I was the same way, and share the nightmare with kids. Personally i’ve spent a lifetime learning how to say No to things I don’t want to do (very hard) and finding the things that work for me.
It’s far from perfect, and it has sometimes come at the cost of heavy mistakes before I figured out why something wasn’t working.
It does give me the ability to explain and help my kids try and find what works for them, and I have been materially successful enough to afford them options sometimes.
Which is huge. I’ve been very lucky. I’ve also faced many hard truths that others have refused to, and worked my ass off too, to get there.
I still do need to work my ass off every day.
One consolation perhaps - I have several friends who were similar that I grew up with whose parents didn’t stop short at beatings.
They succeeded very well in a specific environment afterwards (military), but at the cost of non-trivial mental health issues that are hard to properly describe. A inability to say No to an authority figure being one of them, perhaps, even when it leads to catastrophe. And a severe difficulty in trusting themselves to be independent thinkers.
They’ve objectively done well for themselves by societies standards, as have I. But each of us has our own regrets.
Such is life I guess?