How do you perfect moms stick with perfect parenting on a daily?

My son is 2.5 and a horrible sleeper since day one. I’ve tried to stick to routines and they don’t always work. He doesn’t like fruit or veggies and doesn’t always eat his 3 square meals. He gets screen time in the mornings sometimes or when I’m cooking. I know perfect moms are completely against screen time. I work a full time 40 week at home so I give my son plenty of free play while TV is on (sometimes) but I make sure it’s educational. For not being the perfect social media mom with the perfectly clean home and perfect schedule for their kids my son is pretty well behaved and intelligent 🤷‍♀️ although he’s the worst eater and sleeper but I give up perfecting those things unless anyone has great tips?? I am just doing everything I can to survive. I make sure my child is fed, happy, healthy and that I can work, shower, take care of the house etc. I hate myself though because I’ve yelled at him a couple of times when I’ve been under stress with life/work and him acting up and I spanked him one time and feel horrible about it. I’m am seeking therapy now for this issue. Anyone on here not considered perfect? Share your experiences.