A housing provider has pledged to donate £400,000 to a charity tackling abuse and exploitation of older people.