Hi!
The affirmation is true. ATP is generated in catabolic pathways and expended in anabolic pathways.
In catabolic pathways, large molecules are broken into smaller ones to release energy, commonly in the form of ATP. These processes are commonly known as exergonic processes.
In anabolic pathways, larger molecules are constructed from smaller units, requiring energy (the process is known as an endergonic process). The hydrolysis of ATP is commonly the reaction that gives the required energy for this kind of processes.