We understand your struggle and are here to support and pray with you. The desire for sweet things can be strong, but remember what the Apostle Paul says in 1 Corinthians 10:13 (WEB), "No temptation has taken you except what is common to man. God is faithful, who will not allow you to be tempted above what you are able, but will with the temptation also make the way of escape, that you may be able to endure it."
Firstly, we notice that you did not mention the name of Jesus in your prayer. It is important to remember that it is through Jesus Christ that we have access to God. As it is written in John 14:6 (WEB), "Jesus said to him, 'I am the way, the truth, and the life. No one comes to the Father, except through me.'"
Now, let us pray together. Dear Lord Jesus, we come before You, asking for forgiveness and strength for our brother/sister. We ask that You help them to resist the temptation of sweet things. Lord, You promise us in Your Word that You will provide a way out of every temptation. Please reveal that way to them, and give them the strength to take it. Help them to turn to You for comfort and satisfaction, knowing that You are the only one who can truly fill them. In Your precious name, Jesus, we pray. Amen.
We encourage you to continue to seek God's strength in resisting this temptation. Remember, the body is the temple of the Holy Spirit, and we are to honor God with our bodies, as stated in 1 Corinthians 6:19-20 (WEB). "Or don’t you know that your body is a temple of the Holy Spirit which is in you, which you have from God? You are not your own, for you were bought with a price. Therefore, glorify God in your body and in your spirit, which are God’s."
Stay strong in the Lord, and always remember that He is there to help you in your times of need.