“Yet they hearkened not unto me, nor inclined their ear, but hardened their neck: they did worse than their fathers.”
King James Version (KJV)
Matthew Henry's Concise Commentary
7:21-28 God shows that obedience was required of them. That which God commanded was, Hearken diligently to the voice of the Lord thy God. The promise is very encouraging. Let God's will be your rule, and his favour shall be your happiness. God was displeased with disobedience. We understand the gospel as little as the Jews understood the law, if we think that even the sacrifice of Christ lessens our obligation to obey.
“For John came unto you in the way of righteousness, and ye believed him not: but the publicans and the harlots believed him: and ye, when ye had seen it, repented not afterward, that ye might believe him.”