What is the meaning of Matthew 21:42-43?

42 Jesus saith unto them, Did ye never read in the scriptures, The stone which the builders rejected, the same is become the head of the corner: this is the Lord’s doing, and it is marvellous in our eyes? 43 Therefore say I unto you, The kingdom of God shall be taken from you, and given to a nation bringing forth the fruits thereof. (Matthew 21:42-43 KJV)

William Burkitt’s Commentary

Which words are the application that our Saviour makes of the foregoing parable concerning the vineyard; which the chief priests and Pharisees did not apprehend themselves to be concerned in, till he brought the application of it home unto them. Therfore, say I unto you, the kingdom of God shall be taken from you, &c.

Note, 1. The greatest mercy that God can bestow upon any people, is his giving his kingdom to them; that is, all gospel ordinances, and church privileges leading to the kingdom of heaven.

2. Observe the terms upon which God either gives or continues his kingdom to a church and nation. And that is, upon bringing forth the fruits thereof.

Learn, 3. That the greatest judgement which can befall a people, is the taking away the kingdom of God from them. The kingdom of God shall be taken from you, and given, &c.