Aquinas argues that prayers aren’t directly responded to by God in time, however. “We do not pray to change divine decree, but only to obtain what God has decided will be obtained through prayer”. The function of a prayer is to make people feel psychologically closer to God or in order to gain the benefits that God has already designed the world, through his providence, to be the effect of prayer.