In Pāḷi Nikāyas, such as AN6.60 , Jhāna is temporary state that does not destroy defilements.
A monk, master of 4 jhānas can disrobe due to sensual desire:
There is a possibility that a huge storm with rain should come from the east, from the west, ... re ... from the north, ... re ... from the south. They will arouse waves in the pond. In like manner, a certain person secluded from sensual desires ... re ... attains to the fourth higher state of mind (catutthaṃ jhānaṃ upasampajja viharati). Thinking I am the gainer of the fourth higher state of mindhe mixes up with the bhikkhus, bhikkhunis, lay disciples male and female. kings and the ministers of kings, with those of other faiths and their disciples. Abiding with that association, diffused and engaged in talk, the mind touched with greed and corrupted he would give up the holy life and come to low life. - AN6.60 Hatthisāriputtasuttaṃ
On the other hand, if monk develops satipaṭṭhāna, then he will not be tempted to disrobe:
when a bhikkhu is developing and cultivating the four foundations of mindfulness, kings or royal ministers, friends or colleagues, relatives or kinsmen, might invite him to accept wealth, saying: ‘Come, good man, why let these saffron robes weigh you down? Why roam around with a shaven head and begging bowl? Come, having returned to the lower life, enjoy wealth and do meritorious deeds.’ Indeed, friends, when that bhikkhu is developing and cultivating the four foundations of mindfulness, it is impossible that he will give up the training and return to the lower life. For what reason? Because for a long time his mind has flowed towards seclusion, sloped towards seclusion, inclined towards seclusion. Thus it is impossible that he will give up the training and return to the lower life. SN52.8 (8) The Salaḷa-tree Hut BB Trans