Stalin espoused Marxism and Lenninism, both of which sought to abolish religion.
It could just as easily be argued that Stalin was trying to assume religious status as the Godhead of the State. Stalin wasn't trying to abolish religion. He was trying to abolish his religious competitors.