Sycophancy – Wikipedia

In modern English, sycophant denotes an “insincere flatterer” and is used to refer to someone practicing sycophancy (i.e. insincere flattery to gain advantage). The word has its origin in the legal system of Classical Athens.

https://en.wikipedia.org/wiki/Sycophant