Luke 17:12-19 shares the account of 10 people who had a contagious disease. By the time they encountered Jesus — they had been ostracized from society. As they stood afar off, they asked Jesus to heal them.
Instead of healing them on the spot, the way people like to be healed; Jesus gave an instruction for them to go to the priests. The lepers were healed as they went.