Maybe for you but I’ve stayed in plenty of extremely urban areas in the US and abroad. The traffic noise was at worst a light background noise, white noise if you will.
The noises that bothered me were the live music from downstairs blasting into my room after midnight, people making a ruckus in the halls outside my room, people yelling on the street, loud emergency services vehicles.
Just like in an airplane it isn’t the sound of the aircraft that is annoying to me but the guy two rows in front talking to his bros.
The nice thing is I live in the suburbs and don’t hear any of the above and I also don’t hear traffic noise. The worst I hear is an occasional landscaping crew or circular saw but those don’t happen at 1 am.