the government trying to please the majority is fine if you’re not a religious or racial minority and if you are straight. The US was trying to “please” religious conservatives when they passed laws against miscegenation just like the French were when they tried to pass laws against the burkini.
Correct. They were the majority then (social attitudes were the majority then at least) and they aren't now. But the government changed along with those interests, because there was a mechanism for it to change, through voting. Again, a government can't please everyone.
I’m sure all of the minorities that had to wait a century living under Jim Crow and all of the gay couples and interracial couples who were being persecuted by the government should have taken solace in the fact that the “moral majority” were pleased....
I am not understanding your point. Yes, that's literally exactly what happened. I pass no moral value judgments as to whether or not the rule of majority is good. I am merely explaining it descriptively as what happens in democratic republican governments thus far. We can also have a dictatorship where no change happens as well.
Put another way, it doesn't matter whether they were pleased or not, the system is set up to make their interests more apparent than others.