Two classic Hollywood movies inspired Star Trek: Deep Space Nine season 2, episode 13, "Armageddon Game", but few of those influences appear on-screen. "Armageddon Game" is widely regarded as the DS9 episode that establishes the friendship between Chief Miles O'Brien (Colm Meaney) and Dr. Julian Bashir (Alexander Siddig) as they end up on the run from the combined forces of the Kellerun and T'Lani. Facing death bonds the two Star Trek: DS9 characters for life, creating one of the franchise's most enduring friendships. However, Bashir and O'Brien's ordeal in "Armageddon Game" is a lot more contained than had been originally planned.
https://screenrant.com/star-trek-ds9-armageddon-game-classic-movie-inspiration/