And I don’t know if you’re just a moron who thinks they’re being funny, or if you really are that horrendously uneducated. Even farmers need to go to town from time to time for supplies, and perhaps to sell their produce. And towns generally aren’t where farms are, since farms, require, y’know, acreage.
As for loggers, they generally worked where they lived because of company towns, which if you’re ignorant of that charming part of human history, were very, very bad.