I don't want to be friends with a coworker
Why don't you want to be friends with them?
I feel they are always so nosey and childish.
It's fine if you don't want to be friends with a coworker. You should just tell him you're not interested in making friends.
No I'm going to keep on saying rude things to them to hurt their feeling so that they go away.
You don't need to be friends with everyone, but you do need to respect your coworkers. If you create a hostile work environment you could be reported to HR and might be fired.