The St. Sophia's Death painting was created by a painter from Kraków named Wojciech Eljasz in 1865. The work was placed in the altar under her invocation. St. Sophia was a widow and raised three daughters - Faith, Hope and Love (Pistis, Elpis and Agape). When she refused to make a sacrifice to the pagan goddess, her daughters were tortured and killed before her very eyes, and she was kept alive. Sophia died of grief on her daughters' grave. This is the moment that is captured on Wojciech Eljasz's painting.
Paulina Kluz, "St. Sophia's Death", [in:] "The Sacred Lesser Poland Heritage", 2025, source: https://sdm.upjp2.edu.pl/en/works/st-sophias-death