the people that sb spends time with
the company sb keeps
Judging by the company he kept, Mark must have been a wealthy man.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition