You could look for a different game, which would probably be shorter, and hopefully also less frustrating.
There are plenty of lists of "board games for children" etc, but I recommend ignoring any list that promotes games with dated mechanics, like Monopoly, Battleship, Ludo. (Monopoly has a very long losing phase, when it's clear who will win but the other players must wait to be made bankrupt. Battleship is almost entirely luck-based, Ludo even more so.)
I won't assume I can give a recommendation myself, as I don't have children.
(Except I see original Azul recommended, and I like that myself. And Indian Summer. And Copenhagen. And Kingdomino. And Santorini. I'm not sure about a 5 year old playing these though.)
https://www.goodhousekeeping.com/childrens-products/board-ga... maybe, though I haven't heard of any of them (and they stick in Monopoly at the very end).
https://boardgamegeek.com/thread/2337832/game-where-5-year-o... / https://boardgamegeek.com/forum/34/bgg/gaming-kids