Maya Angelou said this quote

I had given up some youth for knowledge, but my gain was more valuable than the loss.