I may have taken a glance at my buddy's girlfriends breasts
What did you think after you did that?
She's beautiful but i respect her boyfriend.
It's rude to spy on someone's body, and thinking that someone is beautiful is not an excuse. If either of them saw you do it, you should apologize. Either way, you should agree not to do it again.
I can't apologize for doing my job.
That is not a legitimate job, and you shouldn't make things up to excuse your poor behavior.