Jesus chastised the Pharisees for their wicked priorities. These are the things you should have done without neglecting the others (v 23). The phrase the things you should have done appears to apply to living with justice, and mercy and faithfulness (v 23). That is Jesus's priority.