That's a very common misinterpretation of the passages, it's about the Israelites doing the sacrifices without the right motive and reason, or heart, denying the social aspects of the Law while fulfilling empty ritual. Any commentary will tell you that. And besides, it doesn't get around the fact that there are very detailed instructions on how to obey the sacrifices.
Hosea 9 for context:
1Do not rejoice, O Israel;
do not be jubilant like the other nations.
For you have been unfaithful to your God;
you love the wages of a prostitute
at every threshing floor.
2Threshing floors and winepresses will not feed the people;
the new wine will fail them.
3They will not remain in the Lords land;
Ephraim will return to Egypt
and eat unclean
a food in Assyria.
4They will not pour out wine offerings to the Lord,
nor will their sacrifices please him.
Such sacrifices will be to them like the bread of mourners;
all who eat them will be unclean.
This food will be for themselves;
it will not come into the temple of the Lord.