Do you know the five love languages of children?
They are: physical touch, words of affirmation, quality time, gifts, and acts of service. One of those five is the primary love language of your child. If you don’t speak that language, your child will not feel loved. This does not mean that you speak only the primary love language. No, you give heavy doses of their primary love language, then you sprinkle in the other four.
The ideal is that children learn to receive and give love in all five languages. This prepares them for good relationships as adults. Your example is the most effective method of teaching. Love your children effectively and they will learn to love others.