Lmao. DC is one of the top HCOL cities in the country. I also don’t think your calculation includes any of the taxes, insurance, etc you need for a house.
The first link you shared, literally all of the houses are east of the river. Talk to anyone in this area about recommendations on living in that area.
I’d love to know where the houses you can afford on a $140K salary in DC are. Unless house here is loosely defined as a place where you live (apartments, condos), I’m certain this data is flawed.