Kiddushin 75b When Fear Motivates Virtue - ר' עקיבא סבר כותים גירי אמת הן

Matmonim: Daf Yomi by Rabbi David Lapin - A podcast by Rabbi David Lapin

Purity of motivation affects the quality of an action but even positive actions committed for selfish reasons, are positive .Sources