\documentclass[a4paper]{article}
\usepackage{hyperref}
\usepackage[english]{babel}
\usepackage{blindtext}

\begin{document}
\tableofcontents
\newpage

\section{Foo}
\blindtext[2]

\section{Bar}
\blindtext{7}

\section{Baz}
\blindtext{5}

\section{Foo}
\blindtext[2]

\section{Bar}
\blindtext{7}

\section{Baz}
\blindtext{5}

\section{Foo}
\blindtext[2]

\section{Bar}
\blindtext{7}

\section{Baz}
\blindtext{5}
\end{document}
