jiǎo​tà​liǎng​tiáo​chuán

have it both ways

脚踏两条船 (腳踏兩條船) jiǎo​tà​liǎng​tiáo​chuán
have it both ways
To attempt to profit from two different opportunities or sides at once; to be noncommittal or opportunistic.
two-time
To be romantically involved with two different people simultaneously; to be unfaithful.

Sources

Definitions
CC-CEDICT