I'm a democratic socialist; I've criticized the US all my life.
We agree that he believed in black nationalism for years. But his thoughts changed. Here are the two most relevant quotes from the link I provided:
MALCOLM: I used to define Black nationalism as the idea that the Black man should control the economy of his community, the politics of his community, and so forth. But, when I was in Africa in May, in Ghana, I was speaking with the Algerian ambassador, who is extremely militant and is a revolutionary in the true sense of the word (and has his credentials as such for having carried on a successful revolution against oppression in his country). When I told him that my political, social, and economic philosophy was Black nationalism, he asked me very frankly, well, where did that leave him? Because he was white. He was an African, but he was Algerian, and to all appearances, he was a white man. And he said if I define my objective as the victory of Black nationalism, where does that leave him? Where does that leave revolutionaries in Morocco, Egypt, Iraq, Mauritania? So he showed me where I was alienating people who were true revolutionaries dedicated to overturning the system of exploitation that exists on this earth by any means necessary. So, I had to do a lot of thinking and reappraising of my definition of Black nationalism. Can we sum up the solution to the problems confronting our people as Black nationalism? And if you notice, I haven’t been using the expression for several months.
*
BERTON: But you no longer believe in a Black State?
MALCOLM X: No.
BERTON: In North America?
MALCOLM X: No. I believe in a society in which people can live like human beings on the basis of equality.