Probably a lot of films end like this but I remember the ending of a film where i think a male and a female are being chased by the the police. I think one of them jumps out or like betrays them in some way. I think at the end one of them dies on like a hill or something. I’m pretty sure it’s famous film or scene. I saw it in the last 10 years. I think it came out in the 90s.
Breathless fits your description.
https://www.imdb.com/title/tt0085276/
I don’t think that’s it