What is the work of a leader, teacher, or pastor of a church?
It is to lead people to salvation, but I do not dispute that the leaders will go to purgatory based in part on the weaknesses of their tending the flock. Wha tthe scripture says is that every "man's work" will be tested after death, not merely the work of the pastors.
It is true that leaders teachers and pastors are primary subjects, but all are building the church by making disciples, directly or indirectly, and will be rewarded accordingly. “Wisdom is justified of her children.” (Mt. 11:19)
“Therefore they that were scattered abroad went every where preaching the word.” (Acts 8:4)
“Now they which were scattered abroad upon the persecution that arose about Stephen travelled as far as Phenice, and Cyprus, and Antioch, preaching the word to none but unto the Jews only.” (Acts 11:19)