I don't think the Sims had that

The Sims had multiple goals for the player.

You had basic needs to fulfill, career advancement, relationships, and family generations.

Each of those fulfills the game loop.