A good book on this is A People’s History of the Supreme Court. People think it had legitimacy because they tend to remember the few good rulings that helped Civil rights (Brown v Board of Education, Roe v Wade), but a lot of it’s decisions have been pretty terrible for the people in the US, from their decisions on slavery, segregation (before Brown), the Bush/Gore election results, every decisions they have made lately, etc.