"For the Hebrew Bible, no value is more central or fundamental than the demand for social justice. Demands for cultic worship pale in significance, to the point that sometimes the prophets seem to reject the ritual cult...
We should probably not conclude that the prophets rejected the sacrificial cult entirely. Such a rejection would be hard to conceive of in the eighth century BCE. But they certainly questioned its value and significance. Amos reminded his listeners that the Israelites could not have offered large numbers of sheep and cattle in their time in the wilderness and that God had been with them nonetheless (5:25). Moreover, generous offerings to the cult made people feel that they were pleasing God and blinded them to the social problems. In that sense, the cult was more a hindrance than a help. For the prophets, and indeed also in the laws of Moses, nothing was more important than social justice."
~ John J. Collins, What are Biblical Values? What the Bible Says on Key Ethical Issues