Making up your own mind to perform a religious act is works, not faith, and does not count for eternity.
Watch the Teaching: If God Already Knows Everything, Why Do We Pray?