Activate Relic of Legends' second ability by tapping Junji and Saffi, adding two mana of any color.
Activate Saffi by sacrificing it, targeting Junji.
Activate Ayli's first ability by paying ({1} magic symbol) and sacrificing Junji.
Junji dies, triggering itself and Saffi.
Resolve the Saffi trigger, returning Junji from your graveyard to the battlefield.
Resolve the Junji trigger, returning Saffi from your graveyard to the battlefield and causing you to lose 2 life.
Resolve the Ayli ability from step 3, causing you to gain five life.
Repeat.
Once you have infinite life and infinite colored mana, you may instead sacrifice Junji to Ayli's second ability to exile all nonland permanents your opponents control.