Agree about second hand.
Set a budget, then find the widest range zoom you can - 18-135, 28-200 etc, then what's left can get you a cheap body to go with it.
If this is your first venture into DSLR then you don't know what's really going to catch your interest, so a lens that'll do landscapes, portraits, flowers, birds in the garden, your dog etc is what you need (and you can add an extension tube for macro rather than spend a fortune on a proper macro lens if you need).
As far as the camera goes, they pretty much all do P, Av, Tv and M and that's plenty to get you going and learning about photography, the exposure triangle and the bits posted above. You don't need 10fps or the ability to AF track a Peregrine in flight, yet.
Once you learn the basics and have a better idea what you want to focus on, upgrade the lens and/or body to meet your newly discovered needs