His main objective is to kill Sasuke. But he will get distracted along the way, and might/will betray Madara.