I meant that under Lenin, the philosophy was to export revolution worldwide so that the Soviet Union would integrate into a worldwide, international socialism.
Under Stalin, the policy of "Socialism in one country" was implemented, and foreign intervention was no longer a priority nor a philosophical goal. Which is why, under Stalin, the USSR attempted to ally with capitalist nations.