Question: in which direction does the frictional force act under your foot?
Answer: The foot pushes on the ground, and without friction the foot would slide backwards (like walking on ice). Static friction pushes in the direction that prevents your foot from sliding, which results in forward motion.