That kind of discrimination is generally illegal, even after the recent supreme court case.
What the ruling says is that some kinds of business, such as designing a website, decorating a cake, or writing a song, for example, are considered speech. In those cases the right of the designer/decorator/songwriter to control their speech takes precedence.
However, this doesn’t mean you can kick someone out of your restaurant for being Jewish or refuse to make a non-marriage related website because a client is gay. It’s only cases where speech is involved.
$1.01T social security $673B health $636B medicare $623B income security $610B defense $494B net interest $220B veteran benefits & services $201B education, training, employment, and social services $89B transportation $74B community and regional development $179B other
https://fiscaldata.treasury.gov/americas-finance-guide/federal-spending/