It can be explained like this:
There was a man who desired to be a painter. He spent many years painting magnificent pictures that beautifully captured sunrises and sunsets, rainbows and storm clouds, mountain peaks and oceans waves.
Finally came the day that his paintings were displayed in an art gallery. Person after person were struck by the beauty displayed in each painting. They stood in awe before the paintings, totally immersed in painted scene.
Then came the big moment when the painter was introduced to the crowd. People praised him for his skill and his eye for beauty.
The artist was honored with good reviews from art critics and money from those who wanted to place one of his paintings in their home.
While people were taken in by the beauty of the paintings, they did not stand their and sing the praises of the paintings. They honored and praised the one who had painted them.
When we live according to God's will, truly bearing His image, we bring glory to God in two ways. First, we glorify God by living the way He created us to live. This demonstrates our trust in Him. Second, our good behavior causes other people to glorify God. The way we live provides evidence for God and His love for us.
People may appreciate our good behavior, but when the Creator is introduced, they will worship Him.
"Be careful to live properly among your unbelieving neighbors. Then even if they accuse you of doing wrong, they will see your honorable behavior, and they will give honor to God when he judges the world."
1 Peter 2:12; NLT