Keep playing it 8 - 10 times until you mess up. Then play something else for a few minutes, then go back to your 8 - 10 times. After a few days of that it should grow to 9 - 11 times and then 10 - 12, etc. At some point you'll be spacing out while doing it and then look down and see you're just playing it without thinking. Then you'll be amazed that you're doing it and you'll screw it up right away. Then eventually you'll stop being amazed and you'll just be able to do it.
Three years later you'll try to play a similar chord progression and you'll be fighting your fingers to stop playing this strumming pattern they learned to do automatically and you'll be trying to get them to play a different strumming pattern.
Addendum based on Tim's comment to the question:
One way that I have taught strumming patterns in the past is with the idea of "missing" the strings with the picking hand. That means, you start by strumming continuously with the smallest note value, let's say 16th notes, while holding just one chord. So you've got the chord and you're just strumming up and down 16th notes. You pretty much have to count while strumming to make this learning technique work. Look at the pattern and find the first time in the pattern when you are not supposed to be strumming. Let's call that a "miss". Find the count of the first miss and move your arm away from the strings at that part of the count while still swinging your arm like an up or down stroke, depending on where you are in the strumming. So now you're strumming continuous 16th notes except you are missing one 16th every time the patter comes around, and your arm is still going up and down at the same rate.
Then add the second miss in with the first and play it that way for a bit. Then add the third miss and so on until you're playing the pattern all the way through.
Since you can already play the pattern 8 - 10 times, you're kind of past that point in learning the strumming, but whenever I come across a particularly nasty pattern or if I have a student learning strumming patterns, I use that as a primary technique. The important thing is that your arm keeps moving up and down the same way whether you are hitting the strings or not (as per Tim's comment).