How can the relative clause in «الذي أحسن إلى الفقراء محبوب» relate to its predicate?

Defining the Subject by a Relative Pronoun: Purposes and Rhetorical Applications