What the Bible teaches. You say the Bible teaches Petrine primacy (and somehow or other implies its continuation in the Papacy), Luther denied Papal authority. So if you're right, he misunderstood the truth. After taking holy orders and teaching Catholic theology, no less.