Is it beneficial to max Roth IRA before EOY?

So - I opened up my Roth through Fidelity a couple months ago, and have been depositing approx $500/mo at a time since then.

With the end of the year approaching, I will not reach the yearly max due to the amounts I deposit, as well as when I opened my account.

Is it without a doubt beneficial for me to max this before the end of the year, given I have the funds to? Obviously this is a pretty penny to invest all at once. In the long term, it sounds like maxing now will go a long way so I'd like to verify with others. I'd appreciate any advice. Thanks all!