Should have set it up differently if you wanted some shock value.
It was obvious it was a trap when 1) we knew what Peacock knew and 2) who 'betrayed' Melissa and why. Once those two pieces of information were there it was obvious Peacock is going to win, so story flow dictates that's NOT what's going to happen.
Still, it's satisfying to see trashy people get what they deserve.