Show don't tell is a rule of thumb guideline that will often help a writer improve their work, assuming they are writing a certain kind of book. It's not a universal rule of story telling.
Folk tales, poetry, children's stories, song lyrics, all of these use exposition (telling) to create powerful, compelling stories.
Even in a novel, telling can be the better choice. It depends on the needs of the story. Sometimes it's better to just say straight out who a character is, or what they are feeling, rather than spending paragraphs describing their clothing and facial expression.
"Show don't tell" is often good writing advice, but it's become the hammer for all those who are not aware that there are other tools available. And if your only tool is a hammer, everything looks like a nail.