The main purpose of this legislation is to give the Secretary of State the authority to stop issuing visas to individuals from countries that are part of the North Atlantic Treaty Organization (NATO) but do not meet their financial commitments to defense spending. Specifically, these countries must spend at least 2 percent of their gross domestic product (GDP) on national defense. The bill aims to encourage NATO member countries to fulfill their obligations and share the financial responsibilities of collective defense.