Leaders like Gandhi and Nehru showcased the spirit of prioritizing the nation's interests over colonial rule.