Depends on who your asking. Some would call this being a 'mindless NPC sheeple' and others would call this 'being a responsible and respectable member of society'. Check out the replies to the shopping cart litmus test. Some people justify their self interested assholery along the lines of 'being a free thinker untainted by shame and societal expectations'. I'm of the opinion these people are douchebags without a shred of consideration or care for anything or anyone but themselves.
You shouldn't be an unquestioning rule follower, nor should you be a sociopathic self intereted dick, I try to find a balance between the two.
Shopping cart litmus test: https://archive.4plebs.org/pol/thread/256670690/