In the court system, we typically follow the "American Rule" which means that each party to the lawsuit pays their own attorneys fees.

In employment discrimination matters (and some others), there are exceptions to that which allow a plaintiff’s attorneys’ fees to be paid by the Defendant-employer if the employer loses the case.

But there