Since the past four decades, Indians have been teaching the Congress a lesson, the prime minister said