I recommend "Female Brainiac in Ancient Times" to you. The plot matches the information you provided. The female protagonist, Xu Xi, was mistaken for the young lady of the Marquis's family, but she was unwilling to marry into a wealthy family. Instead, she wanted to use her wisdom and talent to reach the peak of her life. After getting to know the male lead, she became even more determined to pursue her career. I hope you like my recommendation. Muah ~