Is Building a new house the same thing as Buying a new house?

I sold a house in 2023, during the year I had a house built.  When turbotax asks me if I bought a house, is building one the same thing?