chéng​yě​xiāo​hé​bài​yě​xiāo​hé

be both one's success and one's failure