2011 Hyundai Elantra - Trouble starting

Dear Sir. I have a Hyundai Elentra Manual transmission car, it is not getting start on morning time , what i have to do, still weather is hot in Saudi Arabia.
Kindly advise.

The next time you go to start the car in the morning, turn the ignition switch to on so the dash lights come on for two seconds, and then turn the ignition switch off.

Repeat this a half dozen times and then try starting the engine.

If the engine starts right up, the fuel pump requires replacement.