"If you have two enemies and no allies, make a friend of one of your enemies," a government source said, quoting Tamil poet Thiruvallavur, while speaking on India's foreign policy vis a vis Pakistan in light of New Delhi's tricky relationship with China.