The painting "Saint Joseph and the Child" was created before 1748, for the altar finial of the side altar under the invocation of Our Lady of the Rosary. It was most probably made by Piotr Kornecki, who is considered an author of the church's furnishings. Saint Joseph was Mary's betrothed and guardian and protector of Jesus. In iconography, he is portrayed with the Child on his shoulder and a lily – an attribute referring to his life in chastity.
Paulina Kluz, "St. Joseph and the Child", [in:] "The Sacred Lesser Poland Heritage", 2024, source: https://sdm.upjp2.edu.pl/en/works/st-joseph-and-the-child-1