頼りにする (rely on, count on)
idiom2 sentences
The fixed expression 頼りにする, treating 頼り ('reliance, support') as the role assigned by に — literally 'make X one's reliance,' meaning 'to rely on, depend on, count on X.' The thing or person relied on takes を.