Blynk.begin is a blocking function. The code execution wont progress beyond this point if a connection to either the Wi-Fi or Blynk isn’t possible.
Changing the code to use Blynk.config and Blynk.connect would overcome this issue.
https://docs.blynk.cc/#blynk-firmware-configuration
Pete.