Sirach (Ecclesiasticus) 22:23
Be faithful to thy neighbour in his poverty, that thou mayest rejoice in his prosperity: abide steadfast unto him in the time of his trouble, that thou mayest be heir with him in his heritage.
Brenton's English Septuagint