Well, prayer isn't only about asking for what you want! It's not a hotline to request goodies. It's about connecting with your creator. It's about thanking God for everything that He has given you! If you thank God every day for everything, even the small things, you'll start to realise how truly blessed you are. Talking of Ukraine - are you living in a warzone or are you safe in your home with your family and food to eat and a job to go to etc? Thank God if even one of those things is true of your life. How many people are praying to be in your situation now? Either with a roof over their heads or in a safe place or with enough money to get by. Thank God for that. That's a prayer everyone should be praying.
If you have a request or need help, of course you must pray about it! But if you have no faith that God will answer your prayer or hear you then I don't expect your prayer will be as effective as if you had faith. Faith is an essential part of prayer, as we can see from the bible. Pray about something and truly give it to God. That means hand it over to Him, trust Him, and stop trying to control the outcome by yourself. You will be amazed at what God will do in your life and how He will answer your prayers in ways better than you could ever have imagined by yourself. God will answer your prayers if you have faith that He will. Just maybe not in the way you expect or at the exact time you want. God's timing is perfect so sometimes we need to accept that a bit of a wait!
Yes, God knows what we need. But He wants a personal relationship with us! He wants us to talk with Him and know Him and love Him personally. When I struggle to understand something about God, it helps me to think of everything in the context of Him as our father and us as His children. Do you have children? Of course we provide for our children and feed and clothe them, but imagine if they never bothered to speak with us, never opened up to us. Never asked us for help but just tried to do everything without involving is in any way. Never told us about their day - the good and the bad. Essentially, took our food and clothes silently without a thank you, and literally ignored us in every way. Not even a grunt of acknowledge. How hurtful that would be! Any parent would hate it. That's not a relationship - definitely not a loving or healthy one. To me, that's a relationship with God without prayer. How hurtful it must be for Him when all He wants is a relationship with us.
So the purpose of prayer is not only to get things from God. It's to have a relationship with Him. If you don't know what to say then just start with thanks, tell Him about your day, tell Him about your worries or hopes or dreams, ask Him for help if you need it. Once you start praying regularly you'll realise the purpose of prayer. God of course knows what we need, but he still wants to hear from us. He loves us and wants a relationship with us. That's the purpose of prayer, in my opinion. Why do you talk with anyone? To connect with them? Why do we pray? To connect with God.