This isn't exactly the same phrase, but the idea is similar, and I just ran across it last night in Union Atlantic by Adam Haslett and was struck by it. Here is the quote from the book:
"Years before, in college, she'd taken a literature course and they had read a lot of James Baldwin, among others. Though she couldn't remember what book it came from, one line in particular had always stuck with her. People pay for what they do, Baldwin had written, and more, for what they have allowed themselves to become. And they pay for it simply, with the lives they lead."
Student or Learner