The main purpose of this legislative text is to require the removal of U.S. Armed Forces from any military actions against Iran that have not been specifically authorized by Congress. It emphasizes the constitutional roles of Congress and the President regarding military engagement and aims to ensure that any military action against Iran is subject to proper legislative oversight.