Passage
Ye have heard that it was said to them of old time, Thou shalt not kill; and whosoever shall kill shall be in danger of the judgment:
Ye have heard that it was said to them of old time, Thou shalt not kill; and whosoever shall kill shall be in danger of the judgment:
Matthew 5:19 Whosoever therefore shall break one of these least commandments, and shall teach men so, shall be called least in the kingdom of heaven: but whosoever shall do and teach them, he shall be called great in the kingdom of heaven.
Matthew 5:20 For I say unto you, that except your righteousness shall exceed [the righteousness] of the scribes and Pharisees, ye shall in no wise enter into the kingdom of heaven.
Matthew 5:21 Ye have heard that it was said to them of old time, Thou shalt not kill; and whosoever shall kill shall be in danger of the judgment:
Matthew 5:22 but I say unto you, that every one who is angry with his brother shall be in danger of the judgment; and whosoever shall say to his brother, Raca, shall be in danger of the council; and whosoever shall say, Thou fool, shall be in danger of the hell of fire.
Matthew 5:23 If therefore thou art offering thy gift at the altar, and there rememberest that thy brother hath aught against thee,
The verse centers on "heard", "said", "time", "thou", "shalt", "kill", "whosoever", and "shall". It is saying that the verse draws attention to "heard" and "said", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 20's "For I say unto you that except..." into verse 22's "but I say unto you that every...", so "heard" and "said" belong inside that flow. In Matthew context, the local focus is Christ, faith, and discipleship.
A plain takeaway is to answer the verse's own emphasis on "heard" and "said" with trust shaped by these words, not by a vague optimism outside the passage.