Note: I believe the title and framing of your post is extremely biased and destined to promote outrage. If you genuinely seek to promote productive discussion, you might think about how you can phrase questions like this in a more neutral tone.
Sociologist here. This is a very complicated issue with deep historical context. First of all, I will challenge you to provide examples of the failed communities you speak of and we can discuss specifically the issues and challenges they face.
I'll also try to provide a more generalized answer. Essentially African Americans were violently abducted from their homes and illegally traded into a North American society/economy where they were literally treated as sub-human commodities. This was the violent beginning to over 400 years of disenfranchisement and marginalization in the society we now share. I don't have time right now to provide a full history, nor am I qualified to do so, but I'll provide some good links later when I have time. But briefly, this marginalization is well documented from slavery, to jim crow, to the rise of the ghetto. Even today, African American families are bringing children into a world where they are far more likely to be incarcerated, to receive longer harsher sentences when they are making them less competitive in the job market, and more likely to be shot by police. American ghettos are places that society has forgotten. Unless you grew up in one, you can't imagine a reality where you're systematically denied resources to go to college, or finish high school, or find a job, while society is constantly barraging you with propaganda which informs you that you'll never succeed because you're lazy, you're incompetent, you're corrupt, all while you live a day-to-day life which forces you to navigate dangerous and extremely high stress situations on a regular basis.
I know plenty of African Americans (and Africans) who are highly successful, highly intelligent, compassionate people. There is nothing inherent in 'being black' which primes you to fail in our society, however there is something inherent in our society which primes African Americans for failure by systematically denying communities resources while militarizing police presence in their communities, and gerrymandering voting districts to silence their political voices (just a few examples). These actions by society at large tend to insure the perpetuation of a dangerous feedback loop where the hellish conditions of the American Ghettos continue to prevail, where African American children are brought up in destitute and violent poverty, in communities which could be compared to 3rd world nations, while white affluent Americans peer into their lives from behind the glass to entertain themselves by publically disparaging and shaming these communities, and perpetuating the socially constructed lie that there is something inherently 'good' and 'just' about whiteness, and something inherently 'bad' and 'evil' about blackness.
RE: Why Blacks are a failure?