Is it wrong to post pictures in your lingerie on Facebook while you're in a relationship?

I did this. Because my boyfriend had cheated on me
Is it wrong to post pictures in your lingerie on Facebook while you're in a relationship?
Post Opinion