It's a little bit better than Android, but it's more b/c iOS restricts apps that run in the background, as well as having a smaller screen (albeit smaller battery, so not sure which is the dominant factor here). Part of what makes the situation more tolerable is the fast charging (again , maybe it's b/c it has a smaller battery).
It also tends to hold its charge on standby better, but absolutely, if you just use the phone for 5 hours straight, it's going to go down similar to an android phone. Some android phones are WAY worse than the iphone, but the best Android phones do compare to the iphone in terms of battery life.