If one is asked to come to a certain place to help them with a minyan, but one knows that they are not makpid on having asara mispallelim, whereas I would strongly prefer to daven in a place that has asara mispallelim as is required by Rav Moshe, Rav Shlomo Zalmen, the Brisker Rav, and the Chayei Adam as cited in the Mishna Berura – do I have the right to refuse to help these people? Since “your life takes precedence” and by going there I am depriving myself of tefilla b’tzibbur according to numerous gedolei haposkim, whereas doing a chessed is only a mitzvah kiyumis and they can get someone else?
A person has the right to refuse to do a chesed if it will harm him, and because of “chayecha kodmin”, however a person should not use this rule all the time, because then he can technically weasel out of doing any chesed. If the shul can get other people to do it, you don’t have to miss out teffiloh b’tzibbur in order to do them a chesed. I hope this closes this issue.