You’ll lose power before it will.

iPhone XR has the longest lasting battery in an iPhone. Ever.