The U.S. may still present itself as the “land of dreams,” but for the “land of justice,” try Scandinavia instead.

The World Justice Project’s newly released Rule of Law index for 2013 put Denmark in top spot ahead of neighbors Norway, Sweden and Finland. But while scoring high overall — notably for government accountability, fundamental rights, lack of corruption and criminal justice — the Nordic quartet was cautioned for discrimination against foreigners and ethnic minorities.

Out of the 99 surveyed countries, the U.S. ranks in 19th place, wedged between France and Uruguay. While fairly consistent with its peers in North America and Western Europe, the U.S. was found to underperform for privacy, due process of law, fundamental labor rights, equal judicial treatment of disadvantaged groups and the unaffordability of legal assistance.

With the lowest points for both government accountability and criminal justice, Venezuela captures the bottom of the list, just below Afghanistan and Zimbabwe.

Top 10

1. Denmark

2. Norway

3. Sweden

4. Finland

5. Netherlands

6. New Zealand

7. Austria

8. Australia

9. Germany

10. Singapore

Bottom 10

90. Uganda

91. Cambodia

92. Bangladesh

93. Nigeria

94. Bolivia

95. Cameroon

96. Pakistan

97. Zimbabwe

98. Afghanistan

99. Venezuela

Contact us at letters@time.com.