The main purpose of this legislative text is to repeal the Alien Enemies Act, which is a law that allows the government to detain and deport non-citizens from countries that are considered enemies during wartime. The objective of this repeal is to eliminate a law that many view as outdated and potentially discriminatory, promoting a more inclusive and fair approach to immigration and national security. The key provision of this legislation is the outright repeal of specific sections of the Revised Statutes of the United States that outline the Alien Enemies Act.