Let us suppose that $\lambda \in Card$ where $Card$ is the class of all infinite cardinals.
If $\kappa>\lambda$ and $cof(\kappa)>\lambda$, why does the last inequality imply that every function from $\lambda$ into $\kappa$ is bounded by some ordinal $v<\kappa$?
From my point of view, if we consider any such function, shouldn't we get $f(x)<\delta_x$ where $\delta_x$ is contained in the cofinal subset of $\kappa$ having minimal cardinality (from the way how we defined cofinality) and for any $x\in\lambda$ i.e. $x<\lambda$. Hence taking maximum of all such $\delta_x$ would consequently result the same conclusion as above.
Now I wonder where did I get wrong.