Just in time for President Xi Jinping’s return to the world stage, from which he had been absent for nearly three years of pandemic, the 20th Party Congress has set China’s ideological course. The paper analyses the foreign policy and security agenda Xi has in store.