They also didn't have televisions, computers or phones to distract them. So they'd watch the stars or nature for entertainment and eventually, naturally see patterns and wonder what would happen if they applied those patterns for their own gain.
And less things to work with, so had to get creative to avoid diet fatigue (which is lethal) and only those creative enough people survived to create the people today.