You're letting the INCLINE win the mind game. Don't do that.
Use that area to work on technique. Focus on pedaling in circles, keeping the cadence high, all that. Tell yourself that you are training and traning is supposed to tire you out. (True.)
Or you could concentrate on the scenery on the side of the trail.
Or you could find another route...
Give big space to the festive dog that make sport in the roadway. Avoid entanglement with your wheel spoke.
(Sign in Japan)
1978 Raleigh Gran Prix
2003 EZ Sport AX