was that your experience applying to Endo? its certainly was not mine...
yes, in general endo is not as competitive as gi, cards, or hem/onc, but every IM subspecialty seems to have picked up in competitiveness and endo has a good lifestyle and decent money (as mentioned its possible to make 200+ and still have decent hours with little call), so to just say go to any IM program and you will match endo is probably not the best advice.
Yes, one can still have a good shot at getting an Endo spot coming out of IM, but to optimize your chances, try to do IM at a place that has an Endo fellowship...it will give you a chance to meet people in the field, get a chance to do research and come application time, you will have people to speak on your behalf...and in fellowship application WHO you know can very well trump WHAT you know (its a small world....they all know each other...).