Maybe you don't want to betray your current girlfriend in the future, so you had this dream, creating a bleak situation for your girlfriend, arousing your guilt and consolidating your loyalty to your girlfriend.
Or maybe you've been estranged from your girlfriend recently, so there is some revenge in your dream.