The Dangers of Externalism

Externalism is the idea that doing things enhances our relationship with God.  But is that true — does doing things gain God’s favor?