expression, godan verb (-ku)
have a narrow view of things; peep at the sky through a keyhole (lit.)
Idiomatic expression meaning to have a limited perspective or to judge things based on insufficient information. The literal image is of trying to see the vast sky through a tiny keyhole.
彼の意見は鍵の穴から天を覗くようなものだ。
His opinion is like peeping at the sky through a keyhole.
一部の情報だけで判断するのは、鍵の穴から天を覗くに等しい。
Judging based on only partial information is tantamount to having a narrow view of things.