Budgeting in Project Management

Hello all PM, I need your advice. My understanding about budgeting is able to complete the projects within proposed timeline and also ensure there are sufficient resources to ensure project delivery.

Besides my understanding, please share with me about budgeting with your real life experience.

Appreciate it,thanks !