Keep his number in your pocket and make sure he keeps your number in his pocket.
Who knows what might happen in the near future.. He might break-up with his girlfriend. And you can try again and get lucky.
I don't think all guys are too loyal also. You have show him something he wants better from his girlfriend.. That's for you to find out
Sorry to be too frank.