They basically said a business can discriminate. The case in question was by a bakery that didn’t want to bake a wedding cake for a gay couple. SCOTUS said that was ok.
The kicker is that the claims put forth in the lawsuit by the bakery may be based on lies. The man they claimed wanted the cake isn’t gay, is already married, never ordered from the bakery, and didn’t even know he was mentioned in the court case until a reporter contacted him for comment.