In May of 1997 Maine passed a law making it illegal to discriminate on the basis of sexual orientation in employment, housing, credit and public accommodations. That brings the number of states that provide similar protection to 10. The others are California, Connecticut, Hawaii, Massachusetts, Minnesota, New Jersey, Rhode Island, Vermont and Wisconsin. In addition some cities and counties in the other 40 states offer protection. A similarly uneven picture exists worldwide.
Some countries are far more restrictive than the U.S. while others are more open.
What's legal isn't always fair, which is the reason people often band together to press for changes in existing laws. Slavery certainly isn't fair, and it used to be legal in this country. Prohibiting women from voting isn't fair either, but it also was illegal for many years. Outlawing certain religions is unfair, but has been and sometimes still is illegal. There's still far too much prejudice out there against people who are lesbian or gay or bisexual, and part of coming out is learning how that prejudice may affect your life.