A size 12 is great! And you know, sizes are so inconsistent anyway you can't let yourself feel bad because you didn't get into a certain one. (And it's possible that was one of the smaller-closer-to-a-10 size twelves, did you try on other brands and styles?) And at so close to goal five pounds can make a big difference, too.
I bet you look awesome in those 12s, and you should be proud. Everyone's body is built differently and there is no "correct" number, be it weight or jeans. I know for me it's my huuuuuge thighs that are the problem, and I'm pretty certain they're always going to be a little bit of a problem cause that just happens to be where my body likes to store fat. Jeans that fit my legs always gape terribly at the hips, so I'm usually a size larger than I would be if my legs would agree with the rest of my body.