Selling vs Renting East Bay Home

Hello! My spouse and I purchased a SFH in San Leandro 9 months ago and so far we are not liking the home nor the immediate area. I would like to sell the house asap and buy somewhere else. Our mortgage payment is so high that I don’t think it’s worth staying somewhere where we’re not happy. However my spouse is against selling and would rather rent the home, the rent wouldn’t cover the entire mortgage amount though. If we sold now, we wouldn’t have much equity if anything we would break even. Should we rent the house until we hit the 2 year mark and then sell? In order to avoid capital gains tax? Thanks in advance for your input!