Only Gods elect are commanded to repent because Christ gave them repentance unto life Acts 11:18
18 When they heard these things, they held their peace, and glorified God, saying, Then hath God also to the Gentiles granted repentance unto life.
Spiritual Israel is given repentance Acts 5:31
31 Him hath God exalted with his right hand to be a Prince and a Saviour, for to give repentance to Israel, and forgiveness of sins.
Spiritual Israel are men and women everywhere, not just national ethnic jews. So God does command men everywhere, throughout all nations to repent, but it still only pertains to His Elect !