Compared to his father, he lacks depth.

Literal

Father [compared to-と比べると] he [topic-は] depth [subject-が] not-exist.

と比べると means 'when compared with.' Both と and に work with 比べる — と emphasizes the counterpart in the comparison, に emphasizes the standard. 深み (depth) uses the ~み nominalizer from 深い.