Should wealthy elected official personally fund public salaries/projects?

I’ll have to brush up on my history - didn’t realize Carnegie was an elected to office.