I can't speak to your exact circumstances, but I would caution against judging your parents too harshly. At least not until you've had more experience as a parent.
You might not be able to imagine doing wrong by your kid now, but we are only human. Parents fail all the time, even when we try our best. We hit limits. We lose our patience. We have bad days.
You need to ensure you allow yourself some grace as a parent. And that grace should extend to other parents, possibly including your own.
But if you were genuinely mistreated, abused, or neglected... then I think those feelings of resentment will only grow more certain over the next 5 or so years as your relationship with your kid puts your relationship with your parents in stark relief.
All to say, I wouldn't rush to condemn. Offer yourself and other parents some grace. Be ready to possibly confront some really uncomfortable feelings as you reevaluate your own childhood experiences in light of your parenting journey.
Stay safe out there!