Was God telling me to be more picky about friends?

I used to think Christians are not allowed to reject people as friends unless they are bullies or liars.

So I accepted immoral friends, stingy friends, disrespectful friends, lazy friends, stupid friends etc…

God came to me in a dream and told me if I associate with evil people I would be destroyed.

So now I reject every one I do not like. Even if I do not know if the rejection is morally justified.

Was God telling me to be more picky about friends?
Post Opinion