
best of both worlds
/ˌbest əv ˌboʊθ ˈwɜːrldz/
a situation where you have the advantages of two different things
“Working part-time gives her the best of both worlds: income and free time.”
Origin: From philosophical concept of enjoying material and spiritual worlds simultaneously