Jesus still said the ten commandments were crucial expressions of the commandment of doing to others as one one have done to themselves. The ten commandments had been brought up a few times in the new testament, either with Jesus being questioned as to why he wasn’t following them (in response to which he’d elaborate why a commandment is important and why he’s not dishonoring it) or with him expanding a commandment, such as at Matthew 5:28-29.