Learn lessons from mistakes of parties on decline: PM to BJP leaders