Idolatry functions widely inside religious communities when doctrinal truth is elevated to the position of a false god. This occurs when people rely on the rightness of their doctrine for their standing with God rather than on God himself and his grace.