Being in the wrong gear is typically cause of no ability to gain speed up a hill. Steep hills and/or heavy loads can max out the ability of any engine however.
I found out when we got out west with the 1992 Chevy 454 TBI it was best to pull the real hills in second gear (4L80-e transmission) if I wanted to maintain 45-50 MPH to save fuel and keep the temperature gauge in the normal or below normal open road temps even when at WOT it would go the same MPH.
The only time I could not gain speed in first gear was going into Kingdom Come KY State Park (14% grade) and up the Old Priest run into Yosemite. That is not a condition I ever hope to repeat because on both mountains a crash landing would not have ended well.
The V-10 I am told is good to 5000+ RPM if you need full climbing power. On our 454 I try to limit it to 4000 RPM since that is the WOT (on flat ground)up shift point programmed in by GM.