The end goal of communism is supposed to be the elimination of government - a stateless, classless and functionally anarchist society.
Unsurprisingly no state which ever implemented communism ever took that part seriously.
There's many different communist philosophies.
This is the end goal of one form of communism, but certainly not the end goal of communism. Many communists want a strong state and see a single party as desirable.