Attitude has a big connection. Because the kingdom of heaven belongs to you. In everything, by prayer and petition, with thanksgiving, present your requests to God. Martin Luther understood this principle. Prayer, he said, is like incense.
Thanksgiving is the coals under the incense.
Without live coals, the incense never rises. We can pray thankfully because Christ is busy when we can't see anything happening, especially then. On the cross He appeared defeated, zero having been accomplished. On the cross, His agonizingly tight spot, God saved our race. Jesus protected me with His peace.