Not to be rude, but are you saying you have no equity and you want to sell your house?
Because when you sell your house, what's not paid off goes to the bank, and you keep everything you paid off which in this case would go to the new house offsetting your future mortgage.
People flipping houses and moving before building equity was only a thing for a brief window