It is narrated from Imam Sajjad (AS) who said:
The sins which cause the victory of the enemies are: Oppress others openly, committing sins in front of everyone, consider Haram as Halal, disobey the requests of good and righteous people, and obey bad and corrupt people [1].
[1] Ma’aniyul Akhbaar, Page 270.
Source: en.shafaqna.com