ride off into the sunset, to

ride off into the sunset

achieve a happy conclusion to something.
In the closing scenes of westerns, the characters are often seen riding off into the sunset after everything has been resolved satisfactorily.
See also: off, ride, sunset
Farlex Partner Idioms Dictionary © Farlex 2017

ride off into the sunset, to

A more or less happy ending or resolution. This cliché was originally a visual one—the classic final scene of the western films so popular from the 1930s on, in which the cowboy hero, having vanquished the evildoers, literally rides off into the sunset. It was transferred to other happy endings, usually with some irony, in the mid-twentieth century. “I didn’t even bother getting mad at your crack about me going off into the sunset,” wrote William Goldman (Magic, 1967).
See also: off, ride
The Dictionary of Clichés by Christine Ammer Copyright © 2013 by Christine Ammer
See also: