Narrated Abdullah ibn Mas'ud:
If anyone helps his people in an unrighteous cause, he is like a camel which falls into a well and is pulled out by its tail.