string along

Intermedio alto (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."