Enter into His gates with thanksgiving, And into His courts with praise. Be thankful to Him, and bless His name.
(Psalms 100:4 NKJV)

Nobody wants to be around someone who is complaining all the time, lying, saying nasty things and filled with perverse speech or thoughts. We could never expect to speak to the Queen of England inside Buckingham Palace without using the proper etiquette. Thanksgiving and praise gives us permission to enter into the presence of royalty. God does not want to be around someone who practices a sinful lifestyle. Having the correct attitude gets us closer to the Lord. We repent for our sins and trust Jesus to wash away the unrighteousness so we can enter into the presence of God. A continuous attitude of thanksgiving and praise coming from our hearts gets us closer to God. Thanksgiving and praises be to You Lord forever!