For it is commendable if someone endures pain, suffering unjustly, because of conscience toward God.
because of conscience -- The motivation for patiently bearing up under … unjust suffering is a believer’s conscious awareness of God’s presence. BKC