Hey there ButrosDeeb,
Thanks for reaching out to Apple Support Communities. It sounds like you’re having some performance issues with Messages on your Mac. I’ll be happy to help.
If you’re planning on erasing your drive and reinstalling macOS, that could help this but there could be some other steps to take before doing that.
First, see if the issue continues in safe mode or a new user account. This can isolate the cause of this for you:
Use safe mode to isolate issues with your Mac
How to test an issue in another user account on your Mac
Check for updates to macOS to further isolate this:
How to update the software on your Mac
Also, make sure you have no internet issues with your Mac and check that the date, time, and time zone are set correctly:
If the date or time is wrong on your Mac
I hope these steps help.