The main purpose of this legislation is to prevent the U.S. Congress from approving funding for military operations against Iran unless there is explicit authorization. This is aimed at ensuring that any military action taken against Iran is properly debated and approved by Congress, in line with constitutional requirements.