The United Nations is primarily focused on maintaining international peace and security, preventing conflicts, and resolving global disputes.