The Deadly Companions is a 1961 Western starring Brian Keith (who has a Star Trek:Deep Space Nine Connection), Maureen O'Hara, Steve Cochran, Strother Martin, Will Wright and Chill Wills. It's Sam Peckinpah's directorial debut. Hearing the opening song tempted me to close the screen and pick something else, but I persevered. I enjoyed it all until a piece of that same song played at the end. Otherwise, it's a fine Western.
The Internet Archive has it, and you can watch it online:
DVD Talk rates the film as "very good".