Mr. King performs the service of painting his own house instead of paying someone else to do it. This activity is excluded in GDP.
GDP stands for Gross Domestic Product.
It measures the market value of all final goods and services produced in a country during a given time period . In other words GDP measures an economy's performance. If Mr. King pays someone to paint his house, then it will be included in the GDP.