We are foreigners and came to the US a couple of years before DC1 was born. We rented equidistant to our workplaces. After trouble with our area daycares, we realized the public school nearby wasn't what we wanted either. We were recommended a preschool in Bethesda, which led us to do research on MCPS schools, and since one of us worked in Bethesda, we decided to move there, for the preschool then the public schools. We could barely afford the cheapest tiny old house on the market there at the time.
DC1 is now in college, and the two MCPS school clusters that he's attended in the Bethesda area (BCC and WJ) have served him well. Younger kids have also benefited from their programs.
Not saying that MCPS doesn't have issues - currently BCC high school has had multiple security problems in the last year. But academically, it's what we want for our kids, and socially, there are enough international and multicultural students that our family doesn't feel out of place. There is some economic diversity.
I'm a private school product and was raised in a socio-economic bubble. Even though Bethesda is a tony suburb, if kids attend the public schools, it's not nearly a bubble like the one I grew up in, and I think it does my kids a world of good.