23 It could not have been otherwise. Everything about Mary directs us to her Son, our only Savior, in anticipation of whose merits she was immaculate and full of grace. Everything about Mary raises us to the praise of the adorable Trinity; and so it was that Bernadette, praying her rosary before the grotto, learned from the words and bearing of the Blessed Virgin how she should give glory to the Father, Son, and Holy Spirit.
Source: Le Pelerinage de Lourdes (Vatican.va)