Index funds are pretty low effort. Certainly nothing like Working 9-5 and more for 40+ years.
On index funds, the reason they are profitable to hold is because of the risk premium embedded in its current price, and this risk premium comes about because of the risk aversion of the average investor. As time passes and the world hasn't blown up yet, the price goes up, as it should. It has nothing to do with effort, it is about risk and opportunity cost. It's the same mechanism underlying the yield spread between corporate bonds and government bonds.