With absolutely no doubt, iPhone 13 Pro Max. It is not even a question anymore. For me, of course.
You didn't specify your needs. Are you going to make huge, fine-art prints out of it? Or just social media?
You didn't specify which G1 X. Mark III (2017), Mark II (2014) or the original (2012).
The huge advantage of today's phones is they have computer processing, which cameras do not. To match the result, you'd often have to use a tripod, shoot multiple frames, and spend time in Photoshop combining them. Which phones do within a second.
The immediate quality coming out of phones is mind blowing. Not to mention the immediacy of results, either for showing to others or for yourself.