There is no One Piece episode titled "Curse the Sacred Sword." However, there is a theatrical film: One Piece: Curse of the Sacred Sword (2004)—the fifth movie in the franchise.
Fans sometimes misremember movies as "long episodes" or search by plot keywords. The One Piece anime has 1000+ episodes—easy to conflate. But "Curse of the Sacred Sword" is exclusively a movie.
If you're watching chronologically: slot it after the Davy Back Fight arc (episodes 207-225) for optimal context, but it's not required.