Engine choice 2.3 vs 2.7

Will be getting a bronco in a few months. Thought about a jeep gladiator but they really seem to be JUNK. Which engine holds up better and is there a big difference in reliability?