Yes, that's true; I thought about that after I went to bed. So I am now with advbkie—three hours should work well.
The biggest problem with LAX is having to travel so far from one terminal to the next, a lot of walking. And the other is the queues at all of the check points, and there are a few, so it can take some time. So, if you are going soon, over this holiday period, or anywhere around Spring Break, the queues get crazy.
And I hope you have a wonderful time.
PS. Also, you need cash for the trolleys...dollar notes and five-dollar notes, if I recall, although, since covid, you can probably use a card, but it is a good idea to have a bit of money on you.