string along

中上級 (B2) informal

To keep someone believing something false to benefit yourself, or to go along with someone.

"He strung her along for two years with promises of marriage that never came."