How difficult is it to be a “good” parent these days?

I don’t consider spoiling your child with every electronic device that comes out as being a good parent, or feeding them junk foods on a daily or even weekly basis.