Experience of contending will be vital for his future success, says McIlroy