The main objective of the Demon Slayer Corps in the Infinity Castle arc is to defeat Muzan.