RUNNERS - walking in marathon

I really, really want to participate in a marathon, but I’m still not able to constantly run without getting tired. Would it look silly if I walked majority of the time during a full marathon?

EDIT: sorry I should’ve mentioned this earlier, but the marathon has no time limit (: