居功自傲

  1. satisfied with one's accomplishment and arrogant as a result (idiom); resting on one's laurels and despising others

自以为有功劳,觉得了不起。