Tournament scoring

Hi, on my semi final tournament round we played out 3 points each. The match lasted for 172 minutes. How can the final score be 4 - 5, not in my favor. I had more ball possesion, successful passes etc. I'm supposed to be in the final?
Penalties.
The number of boundaries in your innings