"The government will go even if there is a partial unity among the opposition parties," Yadav told the India Today news channel.
He was commenting on the Lok Sabha by-election results from Uttar Pradesh, where the Samajwadi Party has taken an unssailable leads in both the Gorakhpur and Phulpur constituencies, as well as in Bihar where a Lok Sabha and two Assembly seats voted.
With the Bahujan Samaj Party (BSP) backing the Samajwadi Party in Uttar Pradesh, the rebel Janata Dal-United leader said: "This is the writing on the wall. If you go separately, you will drown. If you go together, then you will save the country as well as yourself."
Asked if the opposition parties were chalking out unity plans ahead of the 2019 general election, he said: "The process is on."
He added: "Opposition unity is a big challenge and it takes time and honest efforts."
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)