師出有名

Idiom

 * 1) to do something for a good and proper reason