Several parallels can be found between The Excercise of Perfection and Christian virtues by the Jesuit teacher Alonso Rodriguez and the second part of the Quixote, which suggest that Cervantes could have gotten familiar with the Jesuit tradition by the end of his life.
Martínez, Á. P. (2019). Spiritual paraphrases and the sharpness of cervantes. Possible Similarities in Don Quixote and Alonso Rodriguez´s Ejercicio de perfección y virtudes cristianas. Hipogrifo. Instituto de Estudios Auriseculares (IDEA). https://doi.org/10.13035/H.2019.07.02.57