Is it childish for me to just block everyone I don’t like, or get along with?

Often times my way of cutting people off is just to entirely block their number, and block them on every social media platform so they have no way of contacting me, or being in my business, is that childish? I’ve had some people tell me it’s better to face things head on, not to block those people, just don’t respond to their messages, and let things be. Does it make me look weak to block someone on everything, as if they never existed? What do y’all think block people that you cut off, or friends you no longer want to associate with, or leave them added, etc and let them be?
Is it childish for me to just block everyone I don’t like, or get along with?
Post Opinion