Allah knows what is in your heart, and when you are daydreaming in the salah, He is aware of all of it. He is the one who gave you the wife you are busy with, He gave you the job you are busy with, He gave you the children you are busy with.
And how Patient is Allah, that you do this day in and day out in your salah, and He still continues to give you chances to speak to him, and complain to Him, and beg Him.
Allah doesn’t need us.
We need Allah.