Srimad Bhagavatam Canto 08, Chapter 06, Text 20

SB 8.6.20

arayo ’pi hi sandheyah
 sati karyartha-gaurave
ahi-musikavad deva
 hy arthasya padavim gataih
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
O demigods, fulfilling one’s own interests is so important that one may even have to make a truce with one’s enemies. For the sake of one’s self-interest, one has to act according to the logic of the snake and the mouse.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
A snake and a mouse were once caught in a basket. Now, since the mouse is food for the snake, this was a good opportunity for the snake. However, since both of them were caught in the basket, even if the snake ate the mouse, the snake would not be able to get out. Therefore, the snake thought it wise to make a truce with the mouse and ask the mouse to make a hole in the basket so that both of them could get out. The snake’s intention was that after the mouse made the hole, the snake would eat the mouse and escape from the basket through the hole. This is called the logic of the snake and the mouse.
Srimad Bhagavatam Canto 08, Chapter 06, Text 19
Srimad Bhagavatam Canto 08, Chapter 06, Text 21