Prayer presupposes an effort, a fight against ourselves and the wiles of the Tempter. The battle of prayer is inseparable from the necessary "spiritual battle" to act habitually according to the Spirit of Christ: we pray as we live, because we live as we pray.
Source: Catechism of the Catholic Church (Vatican.va)