Wiktionary
worth one's while
a. (context idiomatic English) Good and important enough for one to spend time, effort, or money on.
Usage examples of "worth one's while".
Life, it seemed to me, was something not worth one's while to keep.