When you compare him to his father, he lacks depth.

Literal

Father [with-と] compare [try-てみると] he [topic-は] depth [subject-が] not-exist.

比べてみると uses ~てみる to add a 'try doing' nuance: 'if you try comparing.' The ~てみる softens the comparison, making it feel like an observation rather than a judgment.