Khalil Gibran said this quote

Coming generations will learn equality from poverty, and love from woes.