The unthankful heart…discovers not mercies; but let the thankful heart sweep through the day and, as the magnet finds the iron, so it will find, in every hour, some heavenly blessings! ~Henry Ward Beecher
Basically you attract whatever condition your spirit is in. Be unthankful and you will attract unthankful spirits. Be thankful and you will attract thankful spirits.
P.E.A.C.E.
Proverbs 17:22, “A joyful heart is good medicine, but a crushed spirit dries up the bones.” (ESV)