@Batool Hussain - a new investor's probability of success has an inverse correlation to the investor's distance from the investment property. Out of state usually means you can't easily pop in to check on your investment, and, as unlikely as it sounds, there are people out there who may even try to take advantage of you due to your inability to easily see what's going on.
Many investors don't invest in their backyards because they think the cash-on-cash return is too low, or they have some other complaint, so they fly their dollars across the country in search of higher yields, even though the investor has little experience in their OOS target market. "Cleveland(for instance) has such high yields, I should buy there," they reason. Investing remotely not only makes it harder to visit the property, but it also means you'll have less knowledge of your target area.
And your post conveys the hypothetical and largely illusory joys of Section 8 investing. Many investors think this way: "The government's paying, their credit is good! Free money forever." Remember that all Section 8 recipients have to re-certify(annually, I think, but I wouldn't really know since I haven't had a Sec 8 tenant in a very long time.) If they fail to re-certify, the checks stop, and the eviction starts. Also- Sec 8 recipients generally have problems holding full-time or part-time jobs(if they had no such problems, they wouldn't receive Sec 8, and once they're on Sec 8, why would they want to get off?) So these tenants of yours will be home during the day, with little but time on their hands. What could possibly go wrong?
Another word about Sec 8. There are annual inspections, and the inspectors don't feel like they're doing their jobs if they don't cite you for violations in need of correcting. Now after having Sec 8 tenants for years, I realized that I never passed a single inspection or re-inspection, and that all the stuff that was broken was not broken the year prior, but for some reason, I(the property owner) still had to fix it though I'd never set foot into the resident's apartment. Sometimes I was required to do substantial upgrades, only for the tenants to break a whole new round of stuff over the next year. Section 8 is a sucker's bet.
You note in your first paragraph, "I would just need to buy and hold." Your time is valuable- if you need to hold for 5 years, as you suspect, well then you'd better be finely compensated for your time(and trust me, there's time involved) and for locking up your capital. If the cash flow is negligible as you suggest- and if you're wrong about the appreciation- then after 5 years, you will be a seriously unhappy camper. You'll say, "Why didn't I just buy an index fund? Grr!"