But to do that you need to understand what being there for your child means. As a parent you need to be conscious about your child's needs. There are a lot of times where your child actually needs your affection. There can also be times where they need tough love to grow.
Once you understand your child better. You can make decisions that really benefit your children. When children are young they're usually very impressionable. This is why you can't teach honesty to your child by punishing them when they're dishonest. You can teach them honesty only by being honest to them. And by honest we don't mean brutally honest. Honesty can always coexist with kindness.
You can be the one teaching that to your kid. Because once you know your kid properly. You understand how to truly be there for them. And in what ways they actually need you.