William receives an allowance from the PoW, whose income comes from his estates, principally the Duchy of Cornwall, so William does not cost the taxpayer as such, though the taxpayer a) pays his military salary and b) pays for the Royal Protection team that guard him.