The war was much more expensive for the British than for the Colonists, and became even more expensive once France joined. The British didn't lose because they couldn't keep fighting, but because the cost of the war grew to be higher than the expected value of winning.
It was also expensive for the French, and that cost helped bankrupt the state, which led to the French Revolution. One of many causes.